mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 21:28:34 +08:00
refactor: select options configuration (#3964)
This commit is contained in:
parent
ce0f4ddf04
commit
bbdfad4ea3
@ -295,7 +295,7 @@ export const dataSource: ISchema = {
|
|||||||
'x-decorator': 'FormItem',
|
'x-decorator': 'FormItem',
|
||||||
'x-component': 'Input',
|
'x-component': 'Input',
|
||||||
'x-reactions': (field: Field) => {
|
'x-reactions': (field: Field) => {
|
||||||
if (!field.initialValue) {
|
if (!field.initialValue && !field.initialized) {
|
||||||
field.initialValue = uid();
|
field.initialValue = uid();
|
||||||
field.setValue(uid());
|
field.setValue(uid());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user