Topic: [Angular] time-picker can't set placeholder time or bind
sreenathb@revature.com pro premium priority asked 6 years ago
>>.picker__calendar-container, .picker__date-display, clockpicker-am-pm-block, .darktheme .picker__box { background-color: $primary-color-dark !important; } <<<
Arkadiusz Idzikowski staff answered 6 years ago
mary.carns@revature.com pro premium priority commented 6 years ago
Thanks Arek. The time picker is in a modal and the placeholder is bound to a variable. The variable shows when the time picker is not clicked, but when clicked the clock defaults to 12:00PM and not to the variable like I expected. I have tried to put in a default time in the time picker and the page won't load, I get an "unexpected token" error when I try to put in a default time as 9:00AM or 9AM. I am using the 12-hour clock, and the data that's being referenced is also using a 12-hour time format. I've been using "today" as placeholder in the date picker, by contrast, and that works like it should (defaults to today). I hope that helps explain, thanks.Arkadiusz Idzikowski staff commented 6 years ago
Dear mary.carns, Looks like I misunderstood your first post. There are some problems with that behaviour that we need to fix. Thanks for reporting them. Best, ArekFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No