bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 572 forks source link

rough try at addressing html5 types #473

Open tommasop opened 9 years ago

tommasop commented 9 years ago

I'm trying to use a form input with type number.

This small patch solves the issue.

This is my first pull request so I don't know if this is a rough implementation that breaks something else.

My implementation is working fine with standard text and number inputs (defined through html_attrs: {type: 'number'} )

thiago-negri commented 7 years ago

I guess this can solve my problem, https://github.com/bernat/best_in_place/issues/559

I'll give it a try later