mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-28 01:45:20 +03:00
Add guidance to Select example
This commit is contained in:
parent
74fb1f04c1
commit
5b01699c6b
@ -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) )
|
||||
|
Loading…
Reference in New Issue
Block a user