From 4fb7f228795e265d63d5376dbf8adfd3faaf85b4 Mon Sep 17 00:00:00 2001 From: Abban Dunne Date: Mon, 18 Sep 2023 13:23:00 +0200 Subject: [PATCH] Add name field to TextInput This fixes a bug where standard HTML posts were missing fields as they did not have a name. Ticket: https://phabricator.wikimedia.org/T345231 --- src/components/pages/membership_form/DateOfBirth.vue | 1 + src/components/shared/EmailAddress.vue | 1 + src/components/shared/Name.vue | 3 +++ src/components/shared/Postal.vue | 2 ++ src/components/shared/form_inputs/TextInput.vue | 3 +++ .../membership_form/__snapshots__/DateOfBirth.spec.ts.snap | 2 ++ 6 files changed, 12 insertions(+) diff --git a/src/components/pages/membership_form/DateOfBirth.vue b/src/components/pages/membership_form/DateOfBirth.vue index 11cc25a83..9382857c2 100644 --- a/src/components/pages/membership_form/DateOfBirth.vue +++ b/src/components/pages/membership_form/DateOfBirth.vue @@ -4,6 +4,7 @@
@@ -59,6 +60,7 @@ exports[`DateOfBirth.vue renders field 1`] = ` autocomplete="on" class="input" id="birthDate" + name="birthDate" placeholder="membership_form_birth_date_placeholder" type="text" />