diff --git a/client/components/forms/RichTextAreaInput.vue b/client/components/forms/RichTextAreaInput.client.vue similarity index 100% rename from client/components/forms/RichTextAreaInput.vue rename to client/components/forms/RichTextAreaInput.client.vue diff --git a/client/components/forms/useFormInput.js b/client/components/forms/useFormInput.js index a47891962..6c7219978 100644 --- a/client/components/forms/useFormInput.js +++ b/client/components/forms/useFormInput.js @@ -33,7 +33,7 @@ export function useFormInput (props, context, formPrefixKey = null) { }) const hasError = computed(() => { - return hasValidation && props.form?.errors?.has(name) + return hasValidation && props.form?.errors?.has(props.name) }) const compVal = computed({ diff --git a/client/components/global/Modal.vue b/client/components/global/Modal.vue index 33f71b93b..887e07726 100644 --- a/client/components/global/Modal.vue +++ b/client/components/global/Modal.vue @@ -1,5 +1,5 @@