From c42d9d7d5416e1a2c12ad9d15970c23c04f6f7a1 Mon Sep 17 00:00:00 2001 From: Gaetan Craig-Riou Date: Mon, 6 Nov 2023 16:54:48 +1100 Subject: [PATCH] Use type="hidden" to hide input It looks some CSS we use is breaking the use of "hidden" --- app/views/registration/steps/_type.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/registration/steps/_type.html.haml b/app/views/registration/steps/_type.html.haml index ad5e075d16..01482fd160 100644 --- a/app/views/registration/steps/_type.html.haml +++ b/app/views/registration/steps/_type.html.haml @@ -26,7 +26,7 @@ .row .small-12.columns - %input.chunky{ id: 'enterprise_is_primary_producer', name: 'is_primary_producer', hidden: true, required: true, ng: { model: 'enterprise.is_primary_producer' } } + %input.chunky{ id: 'enterprise_is_primary_producer', name: 'is_primary_producer', type: "hidden", required: true, ng: { model: 'enterprise.is_primary_producer' } } %span.error{ ng: { show: "type.is_primary_producer.$error.required && submitted" } } = t(".producer_field_error") .row