From 8847de2264a610d4cf0c1dab774c4ab763008f4a Mon Sep 17 00:00:00 2001 From: Joe <49767913+joebudi@users.noreply.github.com> Date: Mon, 1 Jun 2020 11:11:06 +0100 Subject: [PATCH] Props fix The intial value is not being rendered. Display Flex must be selected. --- .../components/userInterface/propertyCategories.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/builder/src/components/userInterface/propertyCategories.js b/packages/builder/src/components/userInterface/propertyCategories.js index eaa2f41245..35d624140a 100644 --- a/packages/builder/src/components/userInterface/propertyCategories.js +++ b/packages/builder/src/components/userInterface/propertyCategories.js @@ -11,8 +11,9 @@ export const layout = [ label: "Display", key: "display", control: OptionSelect, - initialValue: "Flex", + initialValue: "Select Option", options: [ + { label: "Select Option", value: "" }, { label: "Flex", value: "flex" }, { label: "Inline Flex", value: "inline-flex" }, ], @@ -60,10 +61,10 @@ export const layout = [ label: "Wrap", key: "flex-wrap", control: OptionSelect, - initialValue: "Wrap", + initialValue: "NoWrap", options: [ - { label: "Wrap", value: "wrap" }, { label: "No Wrap", value: "nowrap" }, + { label: "Wrap", value: "wrap" }, { label: "Wrap Reverse", value: "wrap-reverse" }, ], }, @@ -195,10 +196,10 @@ export const typography = [ label: "Decoration", key: "text-decoration-line", control: OptionSelect, - defaultValue: "Underline", + defaultValue: "None", options: [ - { label: "Underline", value: "underline" }, { label: "None", value: "none" }, + { label: "Underline", value: "underline" }, { label: "Overline", value: "overline" }, { label: "Line-through", value: "line-through" }, { label: "Under Over", value: "underline overline" },