materialize
materialize copied to clipboard
Allow timepicker container to be an element
Proposed changes
The datepicker requires an element to be specified for the container, the time picker requires a selector string. This change allows an element to be specified while retaining the original method as a fallback
Types of changes
- [X] Bug fix (non-breaking change which fixes an issue).
- [X] New feature (non-breaking change which adds functionality).
- [ ] Breaking change (fix or feature that would cause existing functionality to change).
Checklist:
- [X] I have read the CONTRIBUTING document.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [X] All new and existing tests passed.
Hi! You shoud probably propose this change in this active fork: https://github.com/materializecss/materialize