title: How to use form sections from separate file?
body: <p>Earlier this year I created an app using SwiftUI. One part of this app is broken when running in iOS 14. I have a creation and editing form, the goal is to reuse the sections that they have in common. Previously it worked to have these sections in a <code>Group</code>, since iOS 14 that fails and puts all sections into a single view.</p>
  <p>It's currently implemented similar to this:</p>
  <pre class="lang-swift prettyprint-override"><code>struct CreateForm: View {
      var body: some View {
          Form {
              Section {
                  Text(&quot;First section&quot;)
              }
              OtherSections()
          }
      }
  }
  
  struct OtherSections: View {
      var body: some View {
          Group { // &lt;--- This is causing the issue
              Section {
                  Text(&quot;First Detail Section&quot;)
              }
  
              // In real implementation there are some conditional sections
              if false {
                  Section {
                      Text(&quot;Second Detail Section&quot;)
                  }
              }
          }
      }
  }
  </code></pre>
  <p>Any suggestions on how to solve this issue?</p>