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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The default code for validation attribute is using
Str::lcfirst($this->getLabel())
which is repeated on the following places:vendor\filament\actions\src\Imports\ImportColumn.php
getValidationAttribute()
vendor\filament\forms\src\Components\Concerns\CanBeValidated.php
getValidationAttribute()
vendor\filament\tables\src\Columns\Concerns\CanBeValidated.php
getValidationAttribute()
I would like to override this behavior for example replacing the code with:
Idea:
Probably we can add a static
$defaultValidationAttributeCallback
on those three then register those callback on service provider.if this were not registered in service provider, validation attribute will behave originally.
Beta Was this translation helpful? Give feedback.
All reactions