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 574 forks source link

Disable editing best_in_place_field #570

Open jstoup111 opened 7 years ago

jstoup111 commented 7 years ago

I have a case where I need a field to not be disabled. Specifically a checkbox. Passing disabled: false doesn't prevent the AJAX request from going through. Is there another way I can prevent the calls from going through after they're edited and on page load?