This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
Closed
Description
hasNativeControl
is kind of confusing, since above there's asetNativeControlAttr
, which implies there's always a native control. I think this field needs more documentation to explain what information it is conveying, and how that interacts with other things.
Similarly,
setNativeControlDisabled
probably has implications for the behavior ofsetNativeControlAttr
, please document.
Or maybe it's setting the disabled state of the native control? In which case it definitely needs documentation due to the ambiguity. And then documentation of how this is different from
setNattiveControlAttr('disabled')
material-components-web/packages/mdc-checkbox/adapter.js
Lines 79 to 83 in 19b5152