You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about reverting changes added to fix #156. The rationale there is that false can be used to uncheck a checkbox but one can also use null as the value when unchecking a checkbox and the manual suggests to use groovy truth when checking if a checkbox is checked.
This special case of returning false for unchecked checkboxes means that they behave inconsistently in other parts of the API, namely when obtaining value of multiple checkboxes using form control shortcuts.
Note that this is breaking change and can only be introduced in the next major version.
The text was updated successfully, but these errors were encountered:
Documentation section 4.14.3 for the most current release still indicates that calling .value() on an unchecked checkbox will return 'false'. Please update the relevant documentation.
This issue is about reverting changes added to fix #156. The rationale there is that
false
can be used to uncheck a checkbox but one can also usenull
as the value when unchecking a checkbox and the manual suggests to use groovy truth when checking if a checkbox is checked.This special case of returning false for unchecked checkboxes means that they behave inconsistently in other parts of the API, namely when obtaining value of multiple checkboxes using form control shortcuts.
Note that this is breaking change and can only be introduced in the next major version.
The text was updated successfully, but these errors were encountered: