From 732fbf75ed9266daaa7fdd64c6db88872e596aed Mon Sep 17 00:00:00 2001 From: AgenticDiego Date: Tue, 18 Aug 2026 14:18:31 +0000 Subject: [PATCH] fix(vendor): change website input type from url to text so normalizeWebsite runs type='url' triggers HTML5 browser validation before handleSubmit, so entries like 'example.com' are rejected before the normalizeWebsite helper can prefix 'https://'. Switching to type='text' with inputMode='url' (preserves the URL keyboard on mobile) lets the existing normalization reach every submission. Co-Authored-By: AgenticDiego --- src/components/vendor/vendor-form.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/vendor/vendor-form.tsx b/src/components/vendor/vendor-form.tsx index b932d1c7..560d6734 100644 --- a/src/components/vendor/vendor-form.tsx +++ b/src/components/vendor/vendor-form.tsx @@ -186,10 +186,11 @@ export function VendorForm(props: Readonly) { setWebsite(e.target.value)} - placeholder='https://...' + placeholder='https://example.com' />