Skip to content

Commit

Permalink
[#49489] Fix required inputs on the meetings form
Browse files Browse the repository at this point in the history
  • Loading branch information
dombesz committed Aug 2, 2023
1 parent 2fdaedc commit 8b3274a
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 8b3274a

Please sign in to comment.