Topic: Help with timepicker, not picking the time.
Mikołaj Smoleński staff answered 7 years ago
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal"> Launch demo modal </button> <!-- Modal --> <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLabel">Modal title</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="md-form"> <input placeholder="Selected time" type="text" id="input_starttime" class="form-control timepicker"> <label for="input_starttime">Light version, 12hours</label> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div>Regards
Mikołaj Smoleński staff commented 7 years ago
What is the main difference between Your modal and this one?Capwell pro commented 7 years ago
How do you type code? in that box?Capwell pro commented 7 years ago
I've posted: both here for review. https://github.com/CapGamNet/mdbsupportmodals/Mikołaj Smoleński staff commented 7 years ago
Thanks for creating the repository, it's very helpful. Very important part of adding pickers to Your own projects is setting a wrapper with class 'md-form'. While changing Your input with the following code, picker is working correct: <div class="md-form"> <input placeholder="Selected time" type="text" id="input_starttime" class="form-control timepicker"> <label for="input_starttime">Light version, 12hours</label> </div> RegardsCapwell pro commented 7 years ago
The Light version, 12hours Doesn't work. Remember, i'm using ver 4.4.4Mikołaj Smoleński staff commented 7 years ago
Could You make an update to the latest version? Version 4.5.0 contains many important solutions.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No