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

inputProps() returning required even for optional() schema #22

Open
kiliman opened this issue May 6, 2022 · 2 comments
Open

inputProps() returning required even for optional() schema #22

kiliman opened this issue May 6, 2022 · 2 comments

Comments

@kiliman
Copy link
Owner

kiliman commented May 6, 2022

Describe the bug

inputProps() returning required even for optional() schema

Your Example Website or App

n/a

Steps to Reproduce the Bug or Issue

n/a

Expected behavior

n/a

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

@WesleyKapow
Copy link

WesleyKapow commented May 25, 2022

Just hit this. Easy work around for now is to set required={false} manually on my input and rely on server side validation.

@kiliman
Copy link
Owner Author

kiliman commented May 25, 2022

Yeah. I’m reworking the whole client side part of the helper. Sorry about that. I hope to have this fixed soon.

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

2 participants