diff --git a/src/client/components/survey/SurveyEditForm.tsx b/src/client/components/survey/SurveyEditForm.tsx index 14dc83e..e41b041 100644 --- a/src/client/components/survey/SurveyEditForm.tsx +++ b/src/client/components/survey/SurveyEditForm.tsx @@ -44,7 +44,7 @@ const addFormSchema = z.object({ }), feedChannelIds: z.array(z.string()), feedTemplate: z.string(), - webhookUrl: z.string().url(), + webhookUrl: z.string().url().or(z.literal('')), }); export type SurveyEditFormValues = z.infer; @@ -300,7 +300,7 @@ export const SurveyEditForm: React.FC = React.memo( name="webhookUrl" render={({ field }) => ( - {t('Webhook Url')} + {t('Webhook Url')}