bugfix
This commit is contained in:
parent
5264d9a386
commit
6b419fc5cd
@ -689,6 +689,7 @@ AddNew.FormItem = observer((props: any) => {
|
|||||||
);
|
);
|
||||||
}).open({
|
}).open({
|
||||||
initialValues: {
|
initialValues: {
|
||||||
|
interface: item.name,
|
||||||
...item.default,
|
...item.default,
|
||||||
key: uid(),
|
key: uid(),
|
||||||
name: `f_${uid()}`,
|
name: `f_${uid()}`,
|
||||||
@ -802,7 +803,9 @@ AddNew.PaneItem = observer((props: any) => {
|
|||||||
'x-decorator': 'CardItem',
|
'x-decorator': 'CardItem',
|
||||||
'x-component': 'Form',
|
'x-component': 'Form',
|
||||||
'x-read-pretty': true,
|
'x-read-pretty': true,
|
||||||
'x-component-props': {},
|
'x-component-props': {
|
||||||
|
useValues: '{{ Table.useTableRow }}',
|
||||||
|
},
|
||||||
'x-designable-bar': 'Form.DesignableBar',
|
'x-designable-bar': 'Form.DesignableBar',
|
||||||
properties: {
|
properties: {
|
||||||
[uid()]: {
|
[uid()]: {
|
||||||
@ -846,6 +849,7 @@ AddNew.PaneItem = observer((props: any) => {
|
|||||||
'x-decorator': 'CardItem',
|
'x-decorator': 'CardItem',
|
||||||
'x-component': 'Form',
|
'x-component': 'Form',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
|
useValues: '{{ Table.useTableRow }}',
|
||||||
showDefaultButtons: true,
|
showDefaultButtons: true,
|
||||||
},
|
},
|
||||||
'x-designable-bar': 'Form.DesignableBar',
|
'x-designable-bar': 'Form.DesignableBar',
|
||||||
|
Loading…
Reference in New Issue
Block a user