F
Filament4mo ago
w5m

"data." prefix on greater than form validation message

Not sure if I'm missing something obvious here, but I'm wanting to make sure one form field is greater than 4 * value of another field. I've achieved this by passing a closure to the ->gt() method...
)->gt(function (Get $get): float {
return 4 * floatval($get('value03'));
}),
)->gt(function (Get $get): float {
return 4 * floatval($get('value03'));
}),
...but the resulting validation message is preceded by a data. prefix...
The ... field must be greater than data.128.
The ... field must be greater than data.128.
Is there a way to remove this prefix without creating my own custom rules?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server