form.removeValue (with the correct index) but then when I check the form.state.values.roles there is a weird entry of whatever the last entry of the initial array was but now with just the name property of the whole Role object, which in turn causes my zod validation to fail. Admin and User:Admin to remove itonChange I correctly see that event.target.checked is false and the else branch is executedform.state.values at this point I see the correct dataid of the role to removefield.removeValue(roleIdx) seems to be called with the correct valueroles[1].external is required.form.state.values as soon as the form loads with the existing data that looks a-ok.