Commit 1dbf3d8b authored by Karen Konou's avatar Karen Konou

[Options] fix list when creating a new node

parent 7f7afc2d
Pipeline #2459 failed with stage
in 0 seconds
......@@ -93,7 +93,7 @@ addNodeViewCpt = here.component "addNodeView" cpt where
T.write_ nt nodeType
(maybeChoose /\ nt') = if length nodeTypes > 1
then ([ formChoice { items: nodeTypes
, default: Error
, default: nodeType'
, callback: setNodeType'
, print: print hasChromeAgent' } [] ] /\ nodeType')
else ([H.div {} [H.text $ "Creating a node of type "
......
......@@ -146,6 +146,7 @@ formChoiceCpt = here.component "formChoice" cpt where
[
R2.select
{ className: "form-control with-icon-font"
, defaultValue: show default
, on: { change }
} $ map option items
]
......
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