Simple Form v3.1.1 Release Notes
-
✨ enhancements
- Add the
disabled_class
to the label when the input is disabled. @rhodrid
🐛 bug fix
Make it possible to override
required
value that was previously set in the wrapper. @nashbydate/time/datetime
inputs now correctly generate the labelfor
attribute when HTML5 compatibility is explicitly enabled. @ericsullivanThe datetime, date, and time inputs now have a nice format by default on bootstrap. @ulissesalmeida @eltonchrls
Now it is possible to set custom input mappings for collections.
Example:
# On configuration: config.input_mappings = { /gender$/ => :check_boxes } # On form: f.input :gender, collection: [:male, :female]
- Add the