Merge pull request #1070 from NoRedInk/bat/reduce-prominence-of-errorIf

Remove errorIf options from styleguide examples
This commit is contained in:
Tessa 2022-09-14 09:46:50 -06:00 committed by GitHub
commit 9c093ee094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 21 deletions

View File

@ -294,16 +294,6 @@ controlAttributes =
]
)
|> ControlExtra.optionalListItem "disclosure" controlDisclosure
|> ControlExtra.optionalListItem "errorIf"
(Control.map
(\inError ->
( "RadioButton.errorIf " ++ Debug.toString inError
, RadioButton.errorIf inError
)
)
<|
Control.bool True
)
|> ControlExtra.optionalListItem "errorMessage"
(Control.map
(\message ->

View File

@ -153,15 +153,6 @@ initControls =
)
(Control.bool True)
)
|> ControlExtra.optionalListItem "errorIf"
(Control.map
(\bool ->
( "Select.errorIf " ++ Debug.toString bool
, Select.errorIf bool
)
)
(Control.bool True)
)
|> ControlExtra.optionalListItem "errorMessage"
(Control.map
(\str ->

View File

@ -385,8 +385,6 @@ controlAttributes =
)
|> ControlExtra.optionalBoolListItem "hiddenLabel"
( "TextInput.hiddenLabel", TextInput.hiddenLabel )
|> ControlExtra.optionalBoolListItem "errorIf"
( "TextInput.errorIf True", TextInput.errorIf True )
|> ControlExtra.optionalListItem "errorMessage"
(Control.map
(\str ->