Calcite-components: [calcite-input] Add prop to disable component

Created on 16 Jun 2020  路  3Comments  路  Source: Esri/calcite-components

Currently, there is no way to disable inputs without custom code.

cc @macandcheese

help wanted

All 3 comments

Roger 馃

Thoughts on having a disabled prop on calcite-label in addition to one on calcite-input that could be inherited by calcite-input but also by any wrapped controls?

If so should there by a styling adjustment for disabled items (would need to be distinct from readOnly)... Probably our 0.4 opacity treatment we use everywhere else with pointer-events:none will work.

My 2 cents: I wouldn't expect label to have a disabled prop.

Was this page helpful?
0 / 5 - 0 ratings