mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-04 17:24:06 +03:00
Use aria-disabled when locked or disabled
This commit is contained in:
parent
1d4698dca7
commit
87ef25ef13
@ -156,7 +156,7 @@ internalView config =
|
||||
(config.valueToString config.value)
|
||||
isChecked
|
||||
[ id id_
|
||||
, Html.Styled.Attributes.disabled config.isLocked
|
||||
, Widget.disabled (config.isLocked || config.isDisabled)
|
||||
, if not config.isDisabled then
|
||||
onClick (config.onSelect config.value)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user