fix: display title enable (#1995)
This commit is contained in:
parent
a8191ed26f
commit
ac070de216
@ -56,7 +56,7 @@ export const GeneralSchemaItems: React.FC<{
|
|||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<SchemaSettings.SwitchItem
|
<SchemaSettings.SwitchItem
|
||||||
checked={fieldSchema['x-decorator-props'] ?? true}
|
checked={field.decoratorProps.showTitle ?? true}
|
||||||
title={t('Display title')}
|
title={t('Display title')}
|
||||||
onChange={(checked) => {
|
onChange={(checked) => {
|
||||||
fieldSchema['x-decorator-props'] = fieldSchema['x-decorator-props'] || {};
|
fieldSchema['x-decorator-props'] = fieldSchema['x-decorator-props'] || {};
|
||||||
|
Loading…
Reference in New Issue
Block a user