-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make BooleanParser understand "on" as true #46
Comments
Could be implemented like the |
Good point, that is indeed a missing feature, we can implement a type parser for that |
@apeiniger @mpscholten I'm not sure because it's been a while, but on for a default checkbox button always returns PR #47 already supports it, but the question at hand is whether in terms of HTML (of which the request parser is agnostic) a form would ever submit an |
Yeah, that was my idea as well, that's why I thought it could maybe be added to the normal BooleanParser instead, but up for discussion. |
"on" is default value for checkboxes in html in many browsers, therefore it would be great if "on" would be treated as true as well in the BooleanParser.
The text was updated successfully, but these errors were encountered: