This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Inconsistent behavior with disabled and ng-disabled #3797
Closed
Description
If I add the disabled
attribute to md-switch
, md-select
, & md-slider
the behavior is weird.
md-switch
looks enabled, can be focused (but doesn't change appearance), doesn't respond to spacebar or clicksmd-select
looks disabled, doesn't respond to clicks, can't be focusedmd-slider
looks disabled, can be focused, responds to clicks, does not open its thumb
If I change disabled
to ng-disabled="true"
:
md-switch
behaves the same (as if it had the disabled attribute)md-select
behaves the same (as if it had the disabled attribute)md-slider
no longer responds to clicks but can be focused
I wouldn't doubt if other controls exhibit poor behaviors but these are the ones I have in my app and have tested.