typing of handleChange when building field name dynamically - TanStack