fix(components): add null propagation to accessor in findUser
This commit is contained in:
parent
69cdaba253
commit
4d6398d09f
@ -34,7 +34,7 @@
|
||||
});
|
||||
let fieldo = useField<number | number[]>(props.fieldName, undefined, {
|
||||
// @ts-ignore
|
||||
initialValue: initO.value || null,
|
||||
initialValue: initO?.value || null,
|
||||
});
|
||||
|
||||
const { value, errorMessage, name, setValue } = fieldo;
|
||||
|
Loading…
Reference in New Issue
Block a user