diff --git a/src/app/[locale]/incident/add/components/IncidentQuestionsLocationForm.tsx b/src/app/[locale]/incident/add/components/IncidentQuestionsLocationForm.tsx index 8fa60b9..b16c2cf 100644 --- a/src/app/[locale]/incident/add/components/IncidentQuestionsLocationForm.tsx +++ b/src/app/[locale]/incident/add/components/IncidentQuestionsLocationForm.tsx @@ -9,6 +9,7 @@ import { useStepperStore } from '@/store/stepper_store' import { useRouter } from '@/routing/navigation' import { PublicQuestion } from '@/types/form' import { RenderDynamicFields } from '@/app/[locale]/incident/add/components/questions/RenderDynamicFields' +import { Paragraph } from '@/components/index' export const IncidentQuestionsLocationForm = () => { const { formState: formStoreState, updateForm } = useFormStore() @@ -110,9 +111,9 @@ export const IncidentQuestionsLocationForm = () => { /> ) : loading ? ( /* TODO: Implement nice loading state */ -
Laden...
+TODO: Laat hier een LocationSelect zien
+{field.key}
+ return{errorMessage} -
+ )} {Object.keys(field.meta.values).map((key: string) => ({errorMessage} -
+ )} {Object.keys(field.meta.values).map((key: string) => ( diff --git a/src/app/[locale]/incident/add/components/questions/TextAreaInput.tsx b/src/app/[locale]/incident/add/components/questions/TextAreaInput.tsx index 05c30cb..e153d79 100644 --- a/src/app/[locale]/incident/add/components/questions/TextAreaInput.tsx +++ b/src/app/[locale]/incident/add/components/questions/TextAreaInput.tsx @@ -3,6 +3,7 @@ import { useTranslations } from 'next-intl' import { useFormStore } from '@/store/form_store' import { getValidators } from '@/lib/utils/form-validator' import React from 'react' +import { Paragraph } from '@/components/index' interface TextAreaInputProps extends QuestionField {} @@ -37,13 +38,13 @@ export const TextAreaInput = ({ return ({errorMessage} -
+ )}