best_in_place
best_in_place copied to clipboard
A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
https://github.com/bernat/best_in_place/blob/master/lib/assets/javascripts/best_in_place.js#L406 this line is only select text input
if I use :dislay_as in :select, every time I change the value, the field is displayed correctly but when I refresh the page, the actual option value will be used...
rails_autosize_jquery provides a newer version of autosize.
Fix to prevent performing request from datepicker when no date is changed
haml code like that: ``` =best_in_place @dish, :descr, url: "/dishes/#{@dish.id}", :place_holder => 'Нужно описание', value: @dish.descr, :as => :textarea ``` gets replaced in resulting html with: ``` ``` and if...
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...
I have a BIP select that is based on an enum set and am trying to apply a class to the render to show inactive records in RED: ``` =...
Today I almost gave up best_in_place after discovering that it does not respond to touch events. A quick fix for me was adding a click listener to all elements that...
best_in_place(@user, :memo, :as => :textarea, :url => xxxx, :ok_button => t('label.save'), :cancel_button => " " + t('label.cancel'), :place_holder => t('label.empty_text'), :skip_blur => true, :class => 'bip_highlight_td_on_success') I'm not sure why...
Is there a way for `best_in_place` to manage a Postgres array column type? I've got a `phones` column like so: t.string "phones", default: [], array: true Currently, if I edit...