how to make the datepicker empty when I click on datepicker. The on load datepicker value should be

how to make the datepicker empty when I click on datepicker. The on load datepicker value should be

rajbopparajboppa Posts: 2Questions: 1Answers: 0

on click bootstrap date picker
not empty on load date picker value
not empty exist database value
need to empty

Answers

  • rajbopparajboppa Posts: 2Questions: 1Answers: 0

    on click bootstrap date picker
    not empty on load date picker value
    not empty exist database value
    need to empty

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • allanallan Posts: 63,510Questions: 1Answers: 10,471 Site admin

    You want it to remove the existing value, rather than just editing the current one? That isn't something that the date picker does. You could perhaps listen for the focus event, but it might be tricky to know if the focus is coming from the end user or from the control itself.

    Allan

Sign In or Register to comment.