Unset #options in state field when textfield is used to prevent validation errors