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

How to add datetimepicker #522

Closed whodabudda closed 7 years ago

whodabudda commented 8 years ago

I need the time component in a popup calendar for a datetime input field. Been working with http://xdsoft.net/jqplugins/datetimepicker/ , and can get it to show as follows:

<%= best_in_place item,:occur_dttm, :as => :input, :class => :default_datetimepicker %>

But I can't get the value from the widget into the input field when using best_in_place. Any suggestions?

arif-muhammad-wmc-tech commented 7 years ago

Any progress on this issue ? Did someone get it working?

t56k commented 7 years ago

@whodabudda Why that particular picker, by the way?

whodabudda commented 7 years ago

Hi all, I actually did get it to work, albeit without best_in_place. It was over a year ago and I don't remember the details. I didn't even know I had a reply here until I revisited github for another project. If you want to know, I'll dig it out from the old project. for cd-rum: I chose this picker because I liked the looks of it, and it seemed like it would be easy to use.