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

Set all provided error labels as hidden - new property #206

Open
sashberd opened this issue Jun 17, 2018 · 0 comments
Open

Set all provided error labels as hidden - new property #206

sashberd opened this issue Jun 17, 2018 · 0 comments
Assignees

Comments

@sashberd
Copy link

Hi
In many cases all validation error labels are hidden by default while VC is loading
How about to add some flag to validation init for hidden all labels that was/will passed as error labels.
Or on registerField provide another property to pass: isLabelHidden.
This will reduce from lib user mistakes to hide/show labels

Moreover, may be on validate function call you can hide all errors if above flag is turned on

Thanks

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