wet-boew-styleguide
wet-boew-styleguide copied to clipboard
Disabled input with datepicker, still getting input from datepicker
Hello!
I have a particular textbox control on my page and under certain conditions said control is given the disabled attribute to restrict a users keyboard input.
The problem is that the datepicker is still there active and can be clicked/chosen to select a date which will bypass the disabled attribute of the input field control.
I cannot seem to find a way to disable the datepickers that get generated with wet alongside the input controls that go along with them.
Thank you
Update to this with the latest version of the date picker... One can no longer choose a date, but the cursor is the hand (pointer) when over the calendar button but a not-allowed sign when over the input area. Would be better to be the same over the button as when over the input field.