@@ -77,11 +77,11 @@ export const InputComp = new UICompBuilder(childrenMap, (props) => {
77
77
< TextInputBasicSection { ...children } />
78
78
< FormDataPropertyView { ...children } />
79
79
80
- { useContext ( EditorContext ) . editorModeStatus === "layout" && (
80
+ { [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
81
81
children . label . getPropertyView ( )
82
82
) }
83
83
84
- { useContext ( EditorContext ) . editorModeStatus !== "layout" && (
84
+ { [ "logic" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
85
85
< > < TextInputInteractionSection { ...children } />
86
86
< Section name = { sectionNames . layout } > { hiddenPropertyView ( children ) } </ Section >
87
87
< Section name = { sectionNames . advanced } >
@@ -94,7 +94,7 @@ export const InputComp = new UICompBuilder(childrenMap, (props) => {
94
94
< TextInputValidationSection { ...children } />
95
95
</ >
96
96
) }
97
- { useContext ( EditorContext ) . editorModeStatus === "layout" && (
97
+ { [ "layout" , "both" ] . includes ( useContext ( EditorContext ) . editorModeStatus ) && (
98
98
< > < Section name = { sectionNames . style } > { children . style . getPropertyView ( ) } </ Section > </ >
99
99
) }
100
100
</ >