Topic: Auto close the DatePicker after picking a date

drgorb pro asked 8 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 5 years ago


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

kumar.ishan free answered 6 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 5 years ago

will you provide more details?


Bartłomiej Malanowski staff commented 5 years ago

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


bhargavaev free commented 3 years ago

will you provide more details?


Grzegorz Bujański staff commented 3 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?


Michal Szymanski staff answered 8 years ago


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

allantra pro commented 5 years ago

Any update on this yet?


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

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags