Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: disable input[number] scroll event (#1682)

boojack7066cafa906a
diff --git a/frontend/src/components/CreateInstanceForm.vue b/frontend/src/components/CreateInstanceForm.vue
index 600b279361..1d0c66665c 100644
--- a/frontend/src/components/CreateInstanceForm.vue
+++ b/frontend/src/components/CreateInstanceForm.vue
@@ -109,6 +109,7 @@
:placeholder="defaultPort"
:disabled="!allowEdit"
:value="state.instance.port"
+ @wheel="$event.target.blur()"
@input="handleInstancePortInput"
/>
</div>
diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vue
index d9b97586d9..9375dc6415 100644
--- a/frontend/src/components/InstanceForm.vue
+++ b/frontend/src/components/InstanceForm.vue
@@ -89,6 +89,7 @@
:placeholder="defaultPort"
:disabled="!allowEdit"
:value="state.instance.port"
+ @wheel="$event.target.blur()"
@input="handleInstancePortInput"
/>
</div>