diff --git a/docs/.vitepress/theme/components/Home.vue b/docs/.vitepress/theme/components/Home.vue index e6c5381e..1cc8b5fa 100644 --- a/docs/.vitepress/theme/components/Home.vue +++ b/docs/.vitepress/theme/components/Home.vue @@ -125,6 +125,7 @@ const subscribeToNewsletter = async () => { :disabled="isBusy" id="email" type="email" + pattern="^[a-zA-Z0-9]+(?:[._+-][a-zA-Z0-9]+)*@[a-zA-Z0-9-]+\.[a-zA-Z]{2,}$" name="email" placeholder="you@example.com" class="input"