diff --git a/components/findUser.vue b/components/findUser.vue index b67e493..8a060cd 100644 --- a/components/findUser.vue +++ b/components/findUser.vue @@ -34,7 +34,7 @@ }); let fieldo = useField(props.fieldName, undefined, { // @ts-ignore - initialValue: initO.value || null, + initialValue: initO?.value || null, }); const { value, errorMessage, name, setValue } = fieldo;