fix(components): add null propagation to accessor in findUser

This commit is contained in:
parent 69cdaba253
commit 4d6398d09f
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -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;