Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnOffBooleanParser #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

OnOffBooleanParser #47

wants to merge 2 commits into from

Conversation

yuvalherziger
Copy link
Collaborator

No description provided.

@mpscholten
Copy link
Owner

Any reason we haven't merged this one yet? Otherwise good to go IMO

@apeiniger
Copy link

One little note here, I see in the code that it only returns false when it's actually "off". The standard behavior from html forms is I think to not return the variable as a whole or have it empty. Could we design it in a way that it return true for "on" and false in all other cases? For me it sounds strange that such a parser would give null as it's not really a Boolean Parser then. What do you think?

@mpscholten
Copy link
Owner

Agree, @yuvalherziger can we you push a change for that? Then we can merge this PR :)

@yuvalherziger
Copy link
Collaborator Author

Yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants