Topic: how to auto close the DatePicker after picking a date
Water Damage Network pro asked 6 years ago
how to Auto close the DatePicker after picking a date
Damian Gemza staff answered 6 years ago
The Datepicker's config object got "closeAfterSelect" field. Set it to closeAfterSelect: true, and your date picker will be closed after selecting the date.
Please check also our Datepicker Docs.
Best Regards,
Damian
Water Damage Network pro commented 6 years ago
Object literal may only specify known properties, and 'closeAfterSelect' does not exist in type 'IMyOptions'.
Arkadiusz Idzikowski staff commented 6 years ago
Please show me the code of your 'myDatePickerOptions' object.
gordonBP3 pro commented 6 years ago
Thanks for this answer. I was looking for the same thing. The option you reference works for me, but it's not listed in the online documentation.
Arkadiusz Idzikowski staff commented 6 years ago
You can find information about inputs, outputs and options in the API section (you need to switch tabs at the top of the documentation page).
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.0
- Device: Laptop
- Browser: chrome
- OS: Ubantu
- Provided sample code: No
- Provided link: No