wet-boew-styleguide icon indicating copy to clipboard operation
wet-boew-styleguide copied to clipboard

Disabled input with datepicker, still getting input from datepicker

Open JVan91 opened this issue 9 years ago • 1 comments
trafficstars

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

JVan91 avatar Sep 13 '16 16:09 JVan91

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.

RobJohnston avatar Nov 21 '16 14:11 RobJohnston