Method: MotionPrime::BaseFieldSection#bind_text_input
- Defined in:
- motion-prime/sections/form/base_field_section.rb
#bind_text_input ⇒ Object
117 118 119 120 121 122 |
# File 'motion-prime/sections/form/base_field_section.rb', line 117 def bind_text_input view(:input).on :change do |view| focus if [:auto_focus] form.on_input_change(view(:input)) end end |