mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-13 07:48:26 +03:00
Merge pull request #1136 from NoRedInk/bat/aria-invalid-select
Adds Aria.invalid to Select
This commit is contained in:
commit
c772cc4fcd
@ -44,6 +44,7 @@ module Nri.Ui.Select.V8 exposing
|
||||
-}
|
||||
|
||||
import Accessibility.Styled as Html exposing (Html)
|
||||
import Accessibility.Styled.Aria as Aria
|
||||
import Css
|
||||
import Dict
|
||||
import Html.Styled.Attributes as Attributes exposing (css)
|
||||
@ -454,6 +455,7 @@ viewSelect config =
|
||||
, selectArrowsCss config
|
||||
]
|
||||
(onSelectHandler
|
||||
:: Aria.invalid config.isInError
|
||||
:: Attributes.id config.id
|
||||
:: Attributes.disabled config.disabled
|
||||
:: List.map (Attributes.map never) config.custom
|
||||
|
Loading…
Reference in New Issue
Block a user