dohomi/react-hook-form-mui

DatePickerElement are not exported from "react-hook-form-mui": "^7.0.0"

Closed this issue ยท 1 comments

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior ๐Ÿ˜ฏ

bundler: "Vite"
Node: "Node 20"
package.json:

"dependencies": {
...
"react-hook-form-mui": "^7.0.0",
"@mui/x-date-pickers": "^7.5.0",
...
}

Expected behavior ๐Ÿค”

The DatePickerElement to be available having import { DatePickerElement } from 'react-hook-form-mui' of version 7++;

Steps to reproduce ๐Ÿ•น

No response

you are using wrong import please follow #252 (comment)

import {DatePickerElement} from 'react-hook-form-mui/date-pickers'