validator icon indicating copy to clipboard operation
validator copied to clipboard

In date rules use `format` property for format date in error message when don't set other format properties

Open vjik opened this issue 1 year ago • 2 comments

For example:

new Date(
    format: 'php:d.m.Y',
    min: '19.11.2013',
    max: '31.12.2099',
    skipOnEmpty: true,
),

In this case I expect that in error message date will be formatted as php:d.m.Y.

vjik avatar May 17 '24 08:05 vjik

What should happed if input is invalid date?

batyrmastyr avatar Sep 21 '25 11:09 batyrmastyr

What should happed if input is invalid date?

On invalid date specific error returns. This is already implemented.

vjik avatar Sep 21 '25 13:09 vjik