Add guidance to Select example

This commit is contained in:
Tessa Kelly 2021-11-11 14:07:02 -08:00
parent 74fb1f04c1
commit 5b01699c6b

View File

@ -162,6 +162,16 @@ initControls =
)
(Control.string "The right item must be selected.")
)
|> ControlExtra.optionalListItem "guidance"
(Control.map
(\str ->
( "Select.guidance \"" ++ str ++ "\""
, Select.guidance str
)
)
<|
Control.string "The right item must be selected."
)
initChoices : Control ( String, List (Choice String) )