Disabled date picker on microsoft edge
This commit is contained in:
parent
dd75a58a6c
commit
627d80277b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Champ < ActiveRecord::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def data_provide
|
def data_provide
|
||||||
return 'datepicker' if (type_champ == 'datetime' || type_champ == 'date') && !BROWSER.value.chrome?
|
return 'datepicker' if (type_champ == 'datetime' || type_champ == 'date') && !(BROWSER.value.chrome? || BROWSER.value.edge?)
|
||||||
return 'typeahead' if type_champ == 'address'
|
return 'typeahead' if type_champ == 'address'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue