wet-boew / wet-boew-styleguide

A style guide for the Web Experience Toolkit.
http://wet-boew.github.io/wet-boew-styleguide/index-en.html
36 stars 32 forks source link

Disabled input with datepicker, still getting input from datepicker #282

Open JVan91 opened 8 years ago

JVan91 commented 8 years ago

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

RobJohnston commented 7 years ago

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.