Skip to content

Commit

Permalink
Merge pull request #13336 from opf/bug/49489-fix-required-inputs-on-t…
Browse files Browse the repository at this point in the history
…he-meetings-form

[#49489] Fix required inputs on the meetings form
  • Loading branch information
aaron-contreras authored Aug 2, 2023
2 parents f217ad5 + 8b3274a commit 91701cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/tabular_form_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ def date_picker(field, options = {})
inputs['show-ignore-non-working-days'] = options[:show_ignore_non_working_days]
end

if options[:required]
inputs[:required] = options[:required]
end

label = label_for_field(field, label_options)
input = angular_component_tag('op-basic-single-date-picker',
class: options[:class],
Expand Down

0 comments on commit 91701cd

Please sign in to comment.