TanStackT
TanStack4mo ago
9 replies
verbal-lime

Setting multiple form fields

I am trying to set multiple form fields from an async typeahead. A good example of this might be an address typeahead where the address fields are set upon user selection. I have a field group implemented via withFieldGroup where I am using group.setFieldValue to set everything on select. I haven't quite figured out how to handle the field meta values and I am unsure if this is even a reasonable approach. Is there an idiomatic way of doing this?
Was this page helpful?