Skip to content

Commit 1ca0ca7

Browse files
committed
Hide target type field in forms based on advanced property
1 parent c1274ad commit 1ca0ca7

File tree

1 file changed

+1
-1
lines changed
  • workspaces/ballerina/ballerina-side-panel/src/components/Form

1 file changed

+1
-1
lines changed

workspaces/ballerina/ballerina-side-panel/src/components/Form/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ export const Form = forwardRef((props: FormProps) => {
11201120

11211121
/>
11221122
)}
1123-
{targetTypeField && (
1123+
{targetTypeField && !targetTypeField.advanced && (
11241124
<>
11251125
<EditorFactory
11261126
field={targetTypeField}

0 commit comments

Comments
 (0)