nova-flexible-content
nova-flexible-content copied to clipboard
How to use before and after rules on date fields?
How to use before and after rules on date fields?
none of this won't work
->rules('required', 'date', 'before:b_enddate'))
->rules('required', 'date', 'before:blackout.b_enddate'))
->rules('required', 'date', 'before:blackout.attributes.b_enddate))
The layout's unique identifier is blackout
and I have two fields b_startdate and b_enddate both is casted to date