Closed cebindani closed 5 years ago
Thanks for your patience. Just settled down in a new job so I'll be spending some time on resolving bugs.
Hey @cebindani, I'm not sure I understand. Are you saying that when you set an input to disabled - <input disabled />
- that you want to make sure the calendar doesn't open?
The problem is when I set input as readonly
the calendar should not open.
Ahhh, I see what you're saying. Ok, let me look into this.
@cebindani Done! The new feature you'll want to use is respectDisabledReadOnly. Set it to true
and you should be good to go.
Clarification... the calendar opens, but it is unable to select a date or change the value of the input. Hence the readonly
part.
We have a following problem: set a input as disabled does accessibility ignores the field. To avoid this, I set input field as readonly, but click event still open datepicker. That's a way to remove a click listener by demand, without remove datepickers instance?