inesita-rb / inesita

Frontend web application framework in Ruby using Opal.
https://inesita.fazibear.me/
MIT License
259 stars 15 forks source link

Text input onchange event doesn't work properly #10

Closed olegantonyan closed 8 years ago

olegantonyan commented 8 years ago

Hi! I have a trouble with onchange event

form  do
  input type: 'text', onchange: -> { puts 'yep!' }
end

When I type a text in the form nothing happens, but if I click a link to a current page in navbar then event gets fired. Same code for checkbox works just fine.

fazibear commented 8 years ago

This is how this event works. http://www.w3schools.com/jsref/event_onchange.asp