Topic: Date Picker - default value on document.ready

support3 pro asked 6 years ago


Can i set default value (set default monthdatetime and update label) for datepicker before user select them ?

support3 pro answered 6 years ago


yeah, it's helps! thnx

Michal Szymanski staff answered 6 years ago


Take a look at API

support3 pro answered 6 years ago


I trying to set default value from js: .val(moment().add(8, 'days') Input Label - changed, but when i open calendar - selected date isn't highlighted... P.S. For work with dates i using: momentjs

support3 pro answered 6 years ago


it's works with only data-value attr?

Hi, Yes, you can. Check this page on our docs

Please insert min. 20 characters.

FREE CONSULTATION

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

Status

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
Tags