mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Merge pull request #1246 from bli/patch-1
Add map_type for Hidden input
This commit is contained in:
commit
b407771548
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ module SimpleForm
|
|||
map_type :date, :time, :datetime, to: SimpleForm::Inputs::DateTimeInput
|
||||
map_type :country, :time_zone, to: SimpleForm::Inputs::PriorityInput
|
||||
map_type :boolean, to: SimpleForm::Inputs::BooleanInput
|
||||
map_type :hidden, to: SimpleForm::Inputs::HiddenInput
|
||||
|
||||
def self.discovery_cache
|
||||
@discovery_cache ||= {}
|
||||
|
|
Loading…
Reference in a new issue