2

Datepicker overlapping with previous input

I am using jQuery Datepicker on a form that is being submitted and it is implemented on an input field. When I click on the input field to choose another date, previously submitted dates appear on the field and it partially blocks the UI of the date picker. Is there any clean solution for this? Thank you very much.

4
  • I think this link will help you. stackoverflow.com/questions/1786411/… Commented Jan 5, 2017 at 4:07
  • Hi! Thanks for the link. I don't need to disable past (or future) dates in my datepicker. I just needed to eliminate the display of history of previous date submissions. Commented Jan 5, 2017 at 4:16
  • $( "#datepicker" ).datepicker({ minDate: 0}); not working for you? Commented Jan 5, 2017 at 4:20
  • No, it does not work in my case. Commented Jan 5, 2017 at 5:43

1 Answer 1

6

I think your input filed's autocomplete property is set to on. set autocomplete to off.

<input type="text" autocomplete="off" />
Sign up to request clarification or add additional context in comments.

1 Comment

This solved my issue! I totally forgot this property. Thank you very much.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.