fix: field configuration of Kanban interacts with other block (#3689)
This commit is contained in:
parent
ff1877ce01
commit
61a290117f
@ -728,8 +728,7 @@ export const useCurrentSchema = (action: string, key: string, find = findSchema,
|
||||
const { removeActiveFieldName } = useFormActiveFields() || {};
|
||||
const { form }: { form: Form } = useFormBlockContext();
|
||||
let fieldSchema = useFieldSchema();
|
||||
|
||||
if (!fieldSchema?.['x-initializer']) {
|
||||
if (!fieldSchema?.['x-initializer'] && fieldSchema?.['x-decorator'] === 'FormItem') {
|
||||
const recursiveInitializerSchema = recursiveParent(fieldSchema);
|
||||
if (recursiveInitializerSchema) {
|
||||
fieldSchema = recursiveInitializerSchema;
|
||||
|
Loading…
Reference in New Issue
Block a user