Skip to content

Commit

Permalink
Merge pull request #11776 from rioug/11775-fix-hidden-input
Browse files Browse the repository at this point in the history
Fix hidden input showing on Producer registration
  • Loading branch information
filipefurtad0 authored Nov 16, 2023
2 parents dff8257 + c42d9d7 commit 8a3fbf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/registration/steps/_type.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a3fbf9

Please sign in to comment.