heartcombo--simple_form/test
Fabian Schwahn dfcd041b22 Exclude hidden field when unchecked_value: false
Rails does not generate a hidden field for checkboxes if
`unchecked_value` is false. The nested boolean creates its own hidden
field and ignores this rule from rails. That means that the hidden
field is generated for a falsey value when using the nested style, but
not when using the inline style.

This commit fixes this problem by making the nested style behave like
the inline style, adhering to the standard set by rails.

Resolves: #1320
2017-12-07 14:03:42 +01:00
..
action_view_extensions Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
components Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
form_builder Merge pull request #1528 from plataformatec/plataformatec/fix-wrong-number-of-arguments-from-scope 2017-11-28 21:42:28 -02:00
generators Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
inputs Exclude hidden field when unchecked_value: false 2017-12-07 14:03:42 +01:00
support Merge pull request #1528 from plataformatec/plataformatec/fix-wrong-number-of-arguments-from-scope 2017-11-28 21:42:28 -02:00
simple_form_test.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00
test_helper.rb Add frozen_string_literal in all .rb files 2017-11-27 17:06:18 -08:00