title: How to dynamically add text fields like Contacts with SwiftUI?
body: <p>I have a form where I'd like the user to add any amount of promo codes. The closest native example of this is in the Contacts app. See <code>add url</code> section, which I wouldn't need the &quot;homepage&quot; or &quot;home&quot; links but the delete functionality is:
  <a href="https://i.stack.imgur.com/ylpUF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ylpUF.jpg" alt="enter image description here" /></a></p>
  <p>How can this be constructed with SwiftUI or is there a more recommended way of handling this scenario? Thanks for any help!</p>