MDBDatepicker add slot for datepicker date text in MDBDatepi


Topic: MDBDatepicker add slot for datepicker date text in MDBDatepickerHeader

Menno pro premium priority asked 2 years ago

Hi,

We would like to edit the datepicker-date-text contents with a vue slot to display the selected date with a custom format. The vue slot would provide the current selected date as a prop.

See: https://vuejs.org/guide/components/slots.html#scoped-slots for an example on how to pass props to a slot.

enter image description here

Kind Regards,

Van der Let & Partners


Bartosz Cylwik staff answered 2 years ago

Hi! Thank you for submitting your request. We will discuss this with our team and consider adding this feature. Best Regards!


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: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 3.0.0
  • Device: n/a
  • Browser: n/a
  • OS: n/a
  • Provided sample code: No
  • Provided link: Yes