Skip to content

Commit

Permalink
add min and max attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienparker committed Aug 19, 2024
1 parent 1a2963a commit 6f025e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/insured/families/_qle_detail.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="mb-2" onkeydown="handleButtonKeyDown(event, 'qle_submit')">
<label class="weight-n">
<p class='qle-label'><%= l10n("insured.qle_detail.event_date") %></p>
<%= date_field_tag "qle_date", nil, placeholder: "MM/DD/YYYY", required: true %>
<%= date_field_tag "qle_date", nil, placeholder: "MM/DD/YYYY", min: 110.years.ago, max:"9999-12-31", required: true %>
</label>
</div>
<div class="mt-4 <%= pundit_class Family,:updateable? %>">
Expand Down

0 comments on commit 6f025e8

Please sign in to comment.