search

Home  >  Q&A  >  body text

The export imported as `yupResolver` was not found in `@hookform/resolvers` (possible exports are: `toNestError`, `validateFieldsNatively`).

<p>The export imported as `yupResolver` was not found in `@hookform/resolvers` (possible exports are: `toNestError`, `validateFieldsNatively`). I tried importing `yupResolver` but it doesn't exist in `@hookform/resolvers`. </p><p><br /></p>
P粉974462439P粉974462439484 days ago475

reply all(1)I'll reply

  • P粉402806175

    P粉4028061752023-07-28 12:29:40

    import { yupResolver } from "@hookform/resolvers";

    use this

    import { yupResolver } from '@hookform/resolvers/yup';

    reply
    0
  • Cancelreply