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
|
||||
checked={fieldSchema['x-decorator-props'] ?? true}
|
||||
checked={field.decoratorProps.showTitle ?? true}
|
||||
title={t('Display title')}
|
||||
onChange={(checked) => {
|
||||
fieldSchema['x-decorator-props'] = fieldSchema['x-decorator-props'] || {};
|
||||
|
Loading…
Reference in New Issue
Block a user