Textalk / angular-schema-form-datepicker

Datepicker add-on for Angular Schema Form using pickadate!
MIT License
43 stars 57 forks source link

Incorrect date input style when it is disabled #31

Open jmaister opened 9 years ago

jmaister commented 9 years ago

When a date input has the disabled state, the background is not changed.

The problem comes from the datepicker.html:

<input ng-show="form.key"
       style="background-color: white"

Even if the component is disabled, the background color keeps as white, instead of changing to CSS classes ".form-control[disabled], .form-control[readonly], fieldset[disabled]"

scottux commented 6 years ago

This issue no longer applies from what I can tell, the code now uses a class name and no inline styles.