diff --git a/src/modules/pages/maintain/forms/components/form.jdbc.ts b/src/modules/pages/maintain/forms/components/form.jdbc.ts index 9cc9c3f..e9d16d4 100644 --- a/src/modules/pages/maintain/forms/components/form.jdbc.ts +++ b/src/modules/pages/maintain/forms/components/form.jdbc.ts @@ -681,7 +681,7 @@ export class FormJdbc extends BI.Widget { value: item, }; })); - this.form.schema.setValue(value ? value : schemas[0]); + this.form.schema.setValue(value && schemas.some(item => item === value) ? value : schemas[0]); } }