---
title: "Discussion on \"Validating React-Select Dropdown with React-Form-Hook and Yup in React(TypeScript): A Step-By-Step Guide\" | Hashnode"
description: "Discussion on \"Validating React-Select Dropdown with React-Form-Hook and Yup in React(TypeScript): A Step-By-Step Guide\". Validating React-Select Dropdown with React-Form-Hook and Yup in React"
url: "https://hashnode.com/posts/validating-react-select-dropdown-with-react-form-hook-and-yup-in-reacttypescript-a-step-by-step-guide/62d2cc07e52a5d129a0c0b12"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Validating React-Select Dropdown with React-Form-Hook and Yup in React(TypeScript): A Step-By-Step Guide](https://mccauley.hashnode.dev/validating-react-select-dropdown-with-react-form-hook-and-yup-in-reacttypescript-a-step-by-step-guide?utm_source=hashnode&utm_medium=feed)

Validating React-Select Dropdown with React-Form-Hook and Yup in React

Jul 16, 2022 · 4 min read · mccauley.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#yup](https://hashnode.com/tag/yup)
-   [#react-form-hook](https://hashnode.com/tag/react-form-hook)
-   [#react-select](https://hashnode.com/tag/react-select)

## Written by

[Macaulay Uzu](https://hashnode.com/@McCauley)

@McCauley · Lagos, Nigeria

  
[View profile](https://hashnode.com/@McCauley)

Software Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Benoit GRASSET](https://hashnode.com/@benoitgrasset)

[Jul 25, 2023](https://hashnode.com/posts/validating-react-select-dropdown-with-react-form-hook-and-yup-in-reacttypescript-a-step-by-step-guide/62d2cc07e52a5d129a0c0b12/comment/64bfa03598ab412289ab7289)

I have the following error by using your code on my project:

Type 'Resolver<{ gender: { value: string; }; hobbies: any\[\]; }>' is not assignable to type 'Resolver<SelectField, any>'. Types of parameters 'options' and 'options' are incompatible. Type 'ResolverOptions<SelectField>' is not assignable to type 'ResolverOptions<{ gender: { value: string; }; hobbies: any\[\]; }>'. Type '{ gender: { value: string; }; hobbies: any\[\]; }' is not assignable to type 'SelectField'.ts(2322)

It seems that your resolver is not strongly typed enough
