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

docs(mui-file-selector): add docs for custom errors and custom help text #695

Merged
merged 2 commits into from
Mar 6, 2025

Conversation

gregmartDOTin
Copy link
Contributor

No description provided.

Copy link
Contributor

github-actions bot commented Mar 4, 2025

PR Preview Action v1.6.0
Preview removed because the pull request was closed.
2025-03-06 15:16 UTC

const MyComponent = () => {
const methods = useForm({
defaultValues: {
[props.name]: [] as File[],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of props.name we should use the name you passed to the component, "myFiles"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@gregmartDOTin gregmartDOTin merged commit 2a48db0 into main Mar 6, 2025
8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants