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

isJSONString function is not being exported from index.ts #7507

Open
ysalo opened this issue Feb 18, 2025 · 0 comments · May be fixed by #7508
Open

isJSONString function is not being exported from index.ts #7507

ysalo opened this issue Feb 18, 2025 · 0 comments · May be fixed by #7508

Comments

@ysalo
Copy link

ysalo commented Feb 18, 2025

Dependencies check up

I have verified that I use latest version of all @mantine/* packages

What version of @Mantine packages do you have in package.json?
7.17.0

What package has an issue?
@mantine/form

What framework do you use?
Vite

In which browsers you can reproduce the issue?
All

Describe the bug
In the new version 7.17.0 two new functions were added to form validators, isJSONString and isNotEmptyHTML per documentation. While the isNotEmptyHTML is being exported from @mantine/form/src/validators/index.ts the isJSONString function is not.

If possible, include a link to a codesandbox with a minimal reproduction
No response

Possible fix
Export the function from index.ts

Self-service

I would be willing to implement a fix for this issue: yes

@ysalo ysalo linked a pull request Feb 18, 2025 that will close this issue
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 a pull request may close this issue.

1 participant