Topic: Multiple timepicker on the page don't work, only first element works
VIS free asked 1 year ago
Expected behavior I have multiple timepicker elements on the page, there is no JS error, the page is simple and just has a stepper. I should be able to use all timepickers on the page.
Actual behavior Only the first timepicker is active and the rest are being displayed as a regular text input:
The simplier way to do this is to delete all the JS, change class
timepicker, and add attribute
By the way, maybe you should use our datetimepicker if you want to get both, date and time from your users?
I've just created a snippet here:
I've noticed some difference between the timepicker I've used and the one you used. I've used the documentation, and also have a little bit of JS code to enable incremental timepicker.
Please have a look and let me know what the issue is, thanks in advance.
I'm not sure why it's not working. Could you provide code sample or recreate problem in snippet?
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: MDB5 4.4.0
- Device: PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No