Skip to content

Commit fb27f0c

Browse files
committed
feat: Add novalidate to <form> elements to prevent native HTML validation - we have JS validation instead
1 parent 1495efd commit fb27f0c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/ApiConfiguration.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<!-- Page Types Section -->
5858
<div class="api-config__section">
5959
<h3 class="api-config__section-title">Page Types</h3>
60-
<form @submit.prevent="addPageType" class="api-config__form">
60+
<form @submit.prevent="addPageType" novalidate class="api-config__form">
6161
<TextInput
6262
id="page-type-input"
6363
type="text"
@@ -84,7 +84,7 @@
8484
<!-- Collection Keys Section -->
8585
<div class="api-config__section">
8686
<h3 class="api-config__section-title">Collection Keys</h3>
87-
<form @submit.prevent="addCollectionKey" class="api-config__form">
87+
<form @submit.prevent="addCollectionKey" novalidate class="api-config__form">
8888
<TextInput
8989
id="collection-key-input"
9090
type="text"

src/components/Features/SearchContent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</div>
2222

2323
<!-- Search Form -->
24-
<form class="search-content__form" @submit.prevent="executeSearch">
24+
<form class="search-content__form" novalidate @submit.prevent="executeSearch">
2525
<TextInput
2626
id="search-content-search-term"
2727
type="text"

0 commit comments

Comments
 (0)