TanStackT
TanStack11mo ago
3 replies
dry-scarlet

Updating a specific form value in an array field?

Hi! I have an array of fields (let's call them "people") and for each person I have an autocomplete that the user can use to select the person's location. There's a mutation that's called whenever the form field updates, which then displays a list of suggestions, but I'm not sure what the recommended approach is to having the suggestion selection set the location for the current person. What would y'all suggest for this?
Was this page helpful?