mirror of
https://github.com/heartcombo/simple_form.git
synced 2022-11-09 12:19:26 -05:00
Add disable_browser_validations option on README
This commit is contained in:
parent
12cae98a62
commit
5bf135ae93
1 changed files with 5 additions and 1 deletions
|
@ -378,6 +378,10 @@ The following configuration option permits disabling all HTML5 extensions:
|
|||
|
||||
SimpleForm.use_html5 = false # default is true
|
||||
|
||||
Or you can use the following configuration to disable only the browser validation:
|
||||
|
||||
SimpleForm.disable_browser_validations = true # default is false
|
||||
|
||||
You can do this in the configuration block, generated in the following section.
|
||||
|
||||
== Configuration
|
||||
|
|
Loading…
Reference in a new issue