79096636

Date: 2024-10-17 05:53:38
Score: 1
Natty:
Report link

Was able to solve this!

I updated my loop to include id: \.id, like this:

ForEach($ingredients, id: \.id) { $ingredient in
    TextField("Edit ingredient", text: $ingredient.displayText)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Adam Bowker