diff --git a/app/assets/javascripts/qle.js.erb b/app/assets/javascripts/qle.js.erb index 2179df81a6f..47988c3a663 100644 --- a/app/assets/javascripts/qle.js.erb +++ b/app/assets/javascripts/qle.js.erb @@ -202,6 +202,9 @@ $(function () { $('#qle_form').on('keydown', function(e) { var code = e.keyCode || e.which; if (bs4) { + if (e.key === 'Enter') { + e.preventDefault(); + } return; } diff --git a/app/views/insured/families/_effective_on_kind_fields.html.erb b/app/views/insured/families/_effective_on_kind_fields.html.erb index a10371341b2..e1526214bfe 100644 --- a/app/views/insured/families/_effective_on_kind_fields.html.erb +++ b/app/views/insured/families/_effective_on_kind_fields.html.erb @@ -1,8 +1,10 @@ <% if @qle.effective_on_kinds.count > 1 %> <% if @bs4 %>
- - <%= select_tag 'effective_on_kind', options_for_select(generate_options_for_effective_on_kinds(@qle, @qle_event_date)), include_blank: l10n("select"), class: "col-auto pr-4" %> +
<% else %> diff --git a/app/views/insured/families/_insurance_fields.html.erb b/app/views/insured/families/_insurance_fields.html.erb index c4e358c78b8..0b272ad46b6 100644 --- a/app/views/insured/families/_insurance_fields.html.erb +++ b/app/views/insured/families/_insurance_fields.html.erb @@ -1,25 +1,25 @@ <% if @bs4 %>