nova-flexible-content icon indicating copy to clipboard operation
nova-flexible-content copied to clipboard

How to use before and after rules on date fields?

Open vmihaly2020 opened this issue 4 years ago • 4 comments

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

vmihaly2020 avatar Jul 31 '20 11:07 vmihaly2020