From e09f8b974509babdc04750c4876d84d528149fad Mon Sep 17 00:00:00 2001
From: Bram Wiepjes <bramw@protonmail.com>
Date: Wed, 5 Mar 2025 20:33:08 +0100
Subject: [PATCH] Fix number input validation bug

---
 web-frontend/modules/database/mixins/filterTypeInput.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/web-frontend/modules/database/mixins/filterTypeInput.js b/web-frontend/modules/database/mixins/filterTypeInput.js
index 3495d5c0d..919921f8c 100644
--- a/web-frontend/modules/database/mixins/filterTypeInput.js
+++ b/web-frontend/modules/database/mixins/filterTypeInput.js
@@ -43,8 +43,10 @@ export default {
       clearTimeout(delayTimeout)
     },
   },
-  mounted() {
+  created() {
     this.copy = this.prepareCopy(this.filter.value)
+  },
+  mounted() {
     if (this.copy) {
       this.v$.$touch()
     }