-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
3123 configurable datepicker input value field #3124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3123 configurable datepicker input value field #3124
Conversation
|
This does nothing to ensure the datepicker format matches the # jQuery datepickers (also evaluates dynamically added HTML)
$(document).on 'focus', '.datepicker:not(.hasDatepicker)', ->
defaults = dateFormat: 'yy-mm-dd'
options = $(@).data 'datepicker-options'
$(@).datepicker $.extend(defaults, options)Any thoughts on how we could make sure those match up automatically? If you wanted to make your selected dates to match your |
|
@shekibobo yes, that is true. Isn't there a possibility to transform a ruby format to a javascript format by using coffeescript? |
|
There has been some discussion related to that point on #3000. I haven't come up with a solution yet, but would love your input. |
|
The test suite should start working again if you rebase on master. |
|
My bad, you'll need to rebase one more time. |
|
Why do you use diverent keys in I think all should use the same key. There could be a config option like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't work, the application.js.coffee.erb is only compiled once and not for each locale
Added configurability to datepicker_input and filter_data_range_input as suggested in #3123