mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-03 12:47:44 +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-component': 'Input',
|
||||
'x-reactions': (field: Field) => {
|
||||
if (!field.initialValue) {
|
||||
if (!field.initialValue && !field.initialized) {
|
||||
field.initialValue = uid();
|
||||
field.setValue(uid());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user