mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:38:13 +00:00
fix: select field options initialValue (#3911)
This commit is contained in:
parent
0fc1d96a48
commit
953d9b2e6e
@ -297,6 +297,7 @@ export const dataSource: ISchema = {
|
||||
'x-reactions': (field: Field) => {
|
||||
if (!field.initialValue) {
|
||||
field.initialValue = uid();
|
||||
field.setValue(uid());
|
||||
}
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user