Commit a3a930ba authored by Mart Lubbers's avatar Mart Lubbers

Default string editor doesn't allow empty string

parent f3926d01
Pipeline #12600 failed with stage
in 2 minutes and 11 seconds
......@@ -532,8 +532,8 @@ gEditor{|Char|} = bijectEditorValue toString (\c -> c.[0]) (selectByMode
gEditor{|String|} = selectByMode
textView
(withDynamicHintAttributes "single line of text" (withEditModeAttr textField ))
(withDynamicHintAttributes "single line of text" (withEditModeAttr textField ))
(withDynamicHintAttributes "single line of text" (withEditModeAttr textField <<@ minlengthAttr 1))
(withDynamicHintAttributes "single line of text" (withEditModeAttr textField <<@ minlengthAttr 1))
gEditor{|Bool|} = selectByMode (checkBox <<@ enabledAttr False) (withEditMode Update checkBox) checkBox
gEditor{|[]|} ex _ dx tjx _ = listEditor_ tjx dx (Just (const Nothing)) True True (Just (\l -> pluralisen English (length l) "item")) ex
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment