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

[ENHANCEMENT] Image ratio (or size) validation #1336

Open
Patzi275 opened this issue Dec 24, 2023 · 1 comment
Open

[ENHANCEMENT] Image ratio (or size) validation #1336

Patzi275 opened this issue Dec 24, 2023 · 1 comment

Comments

@Patzi275
Copy link

Is your feature request related to a problem? Please describe.
Actually it is possible to validate file size, but it's not possible for image ratio or size.
We cannot use the custom validation because it's not async, what is needed to wait for the image loading

Describe the solution you'd like
I want there to be parameters other than maxSize or minSize to validate the image ratio.

@adrivelasco
Copy link

this will be awesome. I was also unable to get this image resolution validation working with getFilesFromEvent.

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

No branches or pull requests

2 participants