mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
📝 Add entry on CHANGELOG of PR #1211
This commit is contained in:
parent
39280bf82c
commit
7485f39dfa
1 changed files with 13 additions and 0 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -10,6 +10,19 @@
|
|||
* The boostrap datetime, date and time now has a nice format on bootstrap.
|
||||
[ulissesalmeida][https://github.com/ulissesalmeida] [eltonchrls][https://github.com/eltonchrls]
|
||||
|
||||
* Now is possible set custom configured value input for collection.
|
||||
|
||||
Example:
|
||||
|
||||
```ruby
|
||||
# On configuration:
|
||||
config.input_mappings = { /gender$/ => :check_boxes }
|
||||
|
||||
# On form:
|
||||
f.input :gender, collection: [:male, :female]
|
||||
```
|
||||
[strangeworks][https://github.com/strangeworks]
|
||||
|
||||
## 3.1.0
|
||||
|
||||
### enhancements
|
||||
|
|
Loading…
Reference in a new issue