-
-
Notifications
You must be signed in to change notification settings - Fork 74
Forms with checkboxes that have a default value of false do not work #178
Comments
It should either be a |
Released in 2.46. Thanks! |
@tomasbjerre there is another bug (this one in my original change): https://github.com/tomasbjerre/pull-request-notifier-for-bitbucket/blob/master/src/main/resources/pr-triggerbutton.js#L81 The issue is that it shouldn't have the So things are still selected even if the default value is false. Here is a sample form (complete) for you to try:
Only the |
Ok, I just released 2.47 to fix that =) |
Looks great - just verified! |
If I submit a form that looks like this:
The above
false
will get rewritten like this:And because the string
"false"
is truth-y, it will get rendered as checked.The text was updated successfully, but these errors were encountered: