Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
JsPowWow opened this issue May 22, 2024 · 2 comments
Closed
2 tasks done

Comments

@JsPowWow
Copy link

JsPowWow commented May 22, 2024

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

@dohomi
Copy link
Owner

dohomi commented May 23, 2024

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

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

@dohomi dohomi closed this as completed May 23, 2024
@MohitPatel1
Copy link

please mention the same in documentation. It is so hard to figure this out. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants