Skip to content

Commit

Permalink
Merge pull request #960 from thecartercenter/12492_fix_disabled_casca…
Browse files Browse the repository at this point in the history
…ding_qing

12492: fix rendering to XML if there's a disabled cascading select questioning
  • Loading branch information
cooperka authored Oct 18, 2023
2 parents 8487c9e + 34463fc commit 38e3be8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/decorators/odk/qing_group_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def group_hint_tag(xpath)
end

def main_body_tags(xpath)
return +"" unless visible_children.present?

# If this is a multilevel fragment, we are supposed to render just one of the subqings. %>
if multilevel_fragment?
visible_children[0].body_tags(group: self, xpath_prefix: xpath)
Expand Down

0 comments on commit 38e3be8

Please sign in to comment.