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

How to add multiple values for dateValidator #206

Open
evolvitus opened this issue Jan 3, 2022 · 0 comments
Open

How to add multiple values for dateValidator #206

evolvitus opened this issue Jan 3, 2022 · 0 comments

Comments

@evolvitus
Copy link

Is there a possibility to add multiple values for dateValidator ?

I need rome.val.only(DATES) and at least rome.val.beforeEq(INPUT_TO) / rome.val.afterEq(INPUT_FROM)
I tryied with function() like

dateValidator: function(d) {
  rome.val.only(DATES);
  rome.va.lexcept(EXCEPT);
  rome.val.beforeEq(INPUT_TO);
},

but it doesn't work

(ofcourse DATES, EXCEPT and INPUT_TO are valid data)

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

1 participant