Skip to content

Commit 4ee7f8e

Browse files
committed
Hide target type field in forms based on advanced property
1 parent 51e2e2b commit 4ee7f8e

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
@@ -935,7 +935,7 @@ export const Form = forwardRef((props: FormProps) => {
935935

936936
/>
937937
)}
938-
{targetTypeField && (
938+
{targetTypeField && !targetTypeField.advanced && (
939939
<>
940940
<EditorFactory
941941
field={targetTypeField}

0 commit comments

Comments
 (0)