From f33d764a5f44d0e5441ab82a73ac7932d2c288fb Mon Sep 17 00:00:00 2001 From: jamesread Date: Mon, 11 May 2026 09:54:50 +0100 Subject: [PATCH] fix: argument form submit and suggestionsBrowserKey integration config Call preventDefault at the start of handleSubmit so failed validation does not trigger a native form submit. Map ascii_sentence inputs to text. Set ascii_sentence on suggestionsBrowserKey test arguments so hyphenated values pass validation. Co-authored-by: Cursor --- frontend/resources/vue/views/ArgumentForm.vue | 32 +++++++++---------- .../tests/suggestionsBrowserKey/config.yaml | 2 ++ 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/frontend/resources/vue/views/ArgumentForm.vue b/frontend/resources/vue/views/ArgumentForm.vue index f749daf..f9fb18a 100644 --- a/frontend/resources/vue/views/ArgumentForm.vue +++ b/frontend/resources/vue/views/ArgumentForm.vue @@ -27,11 +27,11 @@ {{ choice.title || choice.value }} - - \ No newline at end of file + diff --git a/integration-tests/tests/suggestionsBrowserKey/config.yaml b/integration-tests/tests/suggestionsBrowserKey/config.yaml index 957d187..feadb9f 100644 --- a/integration-tests/tests/suggestionsBrowserKey/config.yaml +++ b/integration-tests/tests/suggestionsBrowserKey/config.yaml @@ -13,8 +13,10 @@ actions: - name: testInput title: Test Input description: "This input uses suggestionsBrowserKey" + type: ascii_sentence suggestionsBrowserKey: test-suggestions-key - name: testInput2 title: Test Input 2 description: "This input shares the same suggestionsBrowserKey" + type: ascii_sentence suggestionsBrowserKey: test-suggestions-key