Svend
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
packages/@core/ui-kit/form-ui/src/form-api.ts
|
|
@ -185,7 +185,7 @@ export class FormApi { |
|
|
const fieldSet = new Set(fields); |
|
|
const fieldSet = new Set(fields); |
|
|
const schema = this.state?.schema ?? []; |
|
|
const schema = this.state?.schema ?? []; |
|
|
|
|
|
|
|
|
const filterSchema = schema.filter((item) => fieldSet.has(item.fieldName)); |
|
|
const filterSchema = schema.filter((item) => !fieldSet.has(item.fieldName)); |
|
|
|
|
|
|
|
|
this.setState({ |
|
|
this.setState({ |
|
|
schema: filterSchema, |
|
|
schema: filterSchema, |
|
|
|