From 94f1b0e0e8a0bf6c3d44a2e55d11a9664000d885 Mon Sep 17 00:00:00 2001 From: Luke Collymore Date: Thu, 27 Jun 2024 17:47:10 +0100 Subject: [PATCH] Update ModelInformation.vue Fix for preview not updating on key depress --- components/ModelInformation.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ModelInformation.vue b/components/ModelInformation.vue index 1adda035..e31247fe 100644 --- a/components/ModelInformation.vue +++ b/components/ModelInformation.vue @@ -15,8 +15,7 @@ name="modelName" placeholder="Model name" class="block flex-1 py-2 px-3 m-0 w-full min-w-0 text-base leading-6 bg-white rounded border border-gray-300 border-solid appearance-none cursor-text sm:text-sm sm:leading-5 focus:border-blue-600 focus:outline-offset-2" - @keypress="updateTableName()" - @change="updateTableName()" + @input="updateTableName()" >