How to write rule "after or equal:date" correct? #414
Unanswered
RadmilaGit
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
i need use rules before_or_equal:date and after_or_equal:date. How should I write correct version of this rules? I tried for example this, but it still doesn't work:
...
helperText={validator.current.message( "from", moment(filtConds.from),
before_or_equal:${moment(filtConds.to)}, )
...
In my code is the bold text of rule in backticks of course.
I must compare date from inputbox "filtConds.from" with date from another inputbox "filtConds.to".
Thank for your help.
RG
Beta Was this translation helpful? Give feedback.
All reactions