fix: customize add record cusomeizeCreateFormBlockInitializers (#3230)
This commit is contained in:
parent
f60c7626e0
commit
4be8812912
@ -100,8 +100,8 @@ function ButtonEditor(props) {
|
|||||||
default: fieldSchema?.['x-component-props']?.danger
|
default: fieldSchema?.['x-component-props']?.danger
|
||||||
? 'danger'
|
? 'danger'
|
||||||
: fieldSchema?.['x-component-props']?.type === 'primary'
|
: fieldSchema?.['x-component-props']?.type === 'primary'
|
||||||
? 'primary'
|
? 'primary'
|
||||||
: 'default',
|
: 'default',
|
||||||
enum: [
|
enum: [
|
||||||
{ value: 'default', label: '{{t("Default")}}' },
|
{ value: 'default', label: '{{t("Default")}}' },
|
||||||
{ value: 'primary', label: '{{t("Highlight")}}' },
|
{ value: 'primary', label: '{{t("Highlight")}}' },
|
||||||
|
@ -27,6 +27,9 @@ export const CustomizeAddRecordActionInitializer = () => {
|
|||||||
'x-component': 'Tabs',
|
'x-component': 'Tabs',
|
||||||
'x-component-props': {},
|
'x-component-props': {},
|
||||||
'x-initializer': 'TabPaneInitializersForCreateFormBlock',
|
'x-initializer': 'TabPaneInitializersForCreateFormBlock',
|
||||||
|
'x-initializer-props': {
|
||||||
|
gridInitializer: 'CusomeizeCreateFormBlockInitializers',
|
||||||
|
},
|
||||||
properties: {
|
properties: {
|
||||||
tab1: {
|
tab1: {
|
||||||
type: 'void',
|
type: 'void',
|
||||||
|
Loading…
Reference in New Issue
Block a user