lolmaheen
Text Input Column Validation Not Working
Passing the record parameter makes this unexecutable
fn ($record, $component) => function ($attributes, $value, $fail) use ($record)
if i used it directly:
->rules([ function ($attributes, $value, $fail)
It gets executed but I want to access the $record to compare updated value with the original record value.
->rules([ function ($attributes, $value, $fail)
It gets executed but I want to access the $record to compare updated value with the original record value.
4 replies