We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f75e559 commit ac2a01cCopy full SHA for ac2a01c
frontend/src/components/metadata/CreateMetadataDefinition.tsx
@@ -131,7 +131,7 @@ export const CreateMetadataDefinition = (): JSX.Element => {
131
132
// Remove the options field if widgetType != enum
133
for (let i = 0; i < formInput.fields.length; i++) {
134
- if (formInput.fields[i].widgetType != "enum") {
+ if (formInput.fields[i].config.type != "enum") {
135
delete formInput.fields[i].config.options
136
}
137
0 commit comments