moeen-basra / ree-validate

Simple React.js input validation plugin extended from vee-validate
MIT License
16 stars 4 forks source link

Different behaviour in chrome and firefox #11

Closed ashvinramana closed 4 years ago

ashvinramana commented 5 years ago

Versions:

Description:

we validate date using the following rule,

this.validator = new ReeValidate({
      from_date: 'date_format:DD/MM/YYYY|date_between:31/12/1899,' + moment().add('years', 1000).format("DD/MM/YYYY")
    })

The problem occurs because of date_between. The above code is working perfectly in chrome, But when I use firefox browser it is not working correctly, it is always showing error,

We found the same related problem in vee-validate, [https://github.com/baianat/vee-validate/issues/1027], If you use the vee-validate plugin in our plugin then please solve this issue same as vee-validate(They update new version of vee-validate).

Thanks in advance