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

use isEqualTo with multiple values #100

Open
mikeyc7m opened this issue Sep 19, 2018 · 2 comments
Open

use isEqualTo with multiple values #100

mikeyc7m opened this issue Sep 19, 2018 · 2 comments

Comments

@mikeyc7m
Copy link

Sorry for the feature request... it would be nice if isEqualTo() could accept an array of values instead of just one. I have an array of values of arbitrary length so I can't just chain orIf() statements. Or is there a way?

@unclecheese
Copy link
Owner

Yes, great idea. Are you comfortable implementing it yourself? JS would be listOfOptions.contains(this.getValue())

@michalkleiner
Copy link
Collaborator

@mikeyc7m still keen to look at this and provide a PR? If not, feel free to close the issue. 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

3 participants