fix: select field options initialValue (#3911)

This commit is contained in:
katherinehhh 2024-04-03 16:02:12 +08:00 committed by GitHub
parent 0fc1d96a48
commit 953d9b2e6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -297,6 +297,7 @@ export const dataSource: ISchema = {
'x-reactions': (field: Field) => {
if (!field.initialValue) {
field.initialValue = uid();
field.setValue(uid());
}
},
},