Commit d59be718 authored by Steffen Michels's avatar Steffen Michels

DynamicEditor: properly set UI attributes for hidden choices

parent a2379d5f
Pipeline #31165 passed with stage
in 6 minutes and 32 seconds
......@@ -68,9 +68,10 @@ where
Enter = case matchingConses of
[(onlyChoice, _)] | hideCons
# (mbUis, _, type, _, vst) = genChildEditors dp onlyChoice.consId Enter vst
# attrs = 'Map'.union (withContainerClassAttr onlyChoice.uiAttributes) attr
# mbUis =
( \(uis, childSts) ->
(uiContainer attr uis, Just (onlyChoice.consId, type, True), [nullState: childSts])
(uiContainer attrs uis, Just (onlyChoice.consId, type, True), [nullState: childSts])
) <$>
mbUis
= (mbUis, vst)
......
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