Class: IntlTelInput
- Inherits:
-
SimpleForm::Inputs::StringInput
- Object
- SimpleForm::Inputs::StringInput
- IntlTelInput
- Defined in:
- app/inputs/intl_tel_input.rb
Instance Method Summary collapse
Instance Method Details
#input(wrapper_options) ⇒ Object
2 3 4 5 6 7 |
# File 'app/inputs/intl_tel_input.rb', line 2 def input() [:class] << 'intl-tel-input' [:type] = 'tel' [:autocomplete] ||= 'tel' super end |