Open stosh15x opened 6 years ago
I may add a way to customize classes of the input group.
There are tons of date(time) pickers for Bootstrap out there, each one with their own configuration, I cannot incorporate all of theses in the helpers.
I may, however, add a specific template for custom datetime pickers that user would be allowed to customize. I would, however, have to check how CakePHP deals with date/time inputs at a request level.
This is a (multiple allowed):
[ ] bug
[x] enhancement
[ ] question
CakePHP Version: 3.6
What you did
While using bootstrap-datetimepicker I had to append to my date input and I needed to add a class of "date" to the input-group that is created. So I had no choice but to use some jquery to add the class.
What happened
No option to add the class to appended input-group
What you expected to happen
The option to add classes to appended input-group
Better Solution
Incorporate http://eonasdan.github.io/bootstrap-datetimepicker/ into these form helpers