You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a date validation such as before_or_equal:today in a fieldset within bard, the validation does not work as expected. If either no or any date value is provided, the validation fails with Must be a date before or equal to today..
This worked in Statamic 4, as shown in the screenshots and repositories below.
Bug description
When using a date validation such as
before_or_equal:today
in a fieldset withinbard
, the validation does not work as expected. If either no or any date value is provided, the validation fails withMust be a date before or equal to today.
.This worked in Statamic 4, as shown in the screenshots and repositories below.
Statamic 4:
Statamic 5:
How to reproduce
Statamic 4 reproduction repo: https://github.com/vintagesucks/repro-statamic-4-date-validation (no issue)
Statamic 5 reproduction repo: https://github.com/vintagesucks/repro-statamic-5-date-validation
[email protected]
/password
)Home
pageNew Set
setSave & Publish
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response
The text was updated successfully, but these errors were encountered: