Auto close the DatePicker after picking a date


Topic: Auto close the DatePicker after picking a date

drgorb pro asked 9 years ago

I would like the date picker to close immediately after the user selected a date and not require her to click on the close button. How can I do that?

allantra pro answered 7 years ago

Ended up on a similar thread and found the solution.  Try adding the following options to your 'myDatePickerOptions'   closeAfterSelect: true   Thanks.      

Michal Szymanski staff pro premium priority answered 9 years ago

It's not possible right now but maybe we'll include that method in next release.

allantra pro commented 7 years ago

Any update on this yet?

kumar.ishan answered 7 years ago

Hi, I tried a work around. just go to the date-picker file's html template and in div tag where we are defining all the calendar date objects just add in (click) event "showSelector=false"

Water Damage Network pro commented 6 years ago

will you provide more details?


Bartłomiej Malanowski staff pro premium commented 6 years ago

Water, I think Kumar just provided you a workardound ;) 


bhargavaev commented 4 years ago

will you provide more details?


Grzegorz Bujański staff commented 4 years ago

@bhargavaev
Now the date picker closes by default when you select a date. I understand that this is not the case with you? What MDB version are you currently using?


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No