Skip to content
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

Add Class to Input-Group & Incorporate bootstrap-datetimepicker #155

Open
1 of 3 tasks
stosh15x opened this issue May 1, 2018 · 1 comment
Open
1 of 3 tasks

Add Class to Input-Group & Incorporate bootstrap-datetimepicker #155

stosh15x opened this issue May 1, 2018 · 1 comment

Comments

@stosh15x
Copy link

stosh15x commented May 1, 2018

This is a (multiple allowed):

  • bug

  • 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

@Holt59
Copy link
Collaborator

Holt59 commented May 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants