You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm fighting to format date in DatePicker. I like to set dateFormat in js manner without any transformation. so in my project I have subclassed datePiker and changed the run method from line 142:
A better option would be to only populate $this->clientOptions['dateFormat'] if it is not set already, so you can set it in clientOptions using the JS format.
Thank you for the answer. Yes your option it will be a good solution. on the other hand on this solution when the user write configuration, dateFormat setting is inside clientOptions and outside it. This can increase user confusing.
when you have choose one solution let me know so I update my project to be in sync with your choose.
Regards
I'm fighting to format date in DatePicker. I like to set dateFormat in js manner without any transformation. so in my project I have subclassed datePiker and changed the run method from line 142:
to:
I think that this can be usefoul and work very well.
Can you put this change in your code?
The text was updated successfully, but these errors were encountered: