Numine
Numine
FFilament
Created by Numine on 1/8/2024 in #❓┊help
If you need to remove the 'x'/cancel /remove option from a Filter Indicator
I did not find this in the documentation so I thought I will add this here for any one who needs it. Indicators[] = Indicator::make('Some Label')->removable(false);
5 replies
FFilament
Created by Numine on 12/1/2023 in #❓┊help
I am unable to use this function : validationMessages() to validate my text input.
Sample of code failing:
TextInput::make('someValue')
->label('someLabel')
->integer()
->validationMessages([
'integer' => 'The :attribute value should be Integer.',
])
->required(),
TextInput::make('someValue')
->label('someLabel')
->integer()
->validationMessages([
'integer' => 'The :attribute value should be Integer.',
])
->required(),
Error message: BadMethodCallException PHP 8.2.13 10.30.1 Method Filament\Forms\Components\TextInput::validationMessages does not exist.
7 replies
FFilament
Created by Numine on 8/11/2023 in #❓┊help
How do I use selectfilter to filter based on a column on another table.
I have two tables A and B which have an hasOne relationship. I want to use SelectFilter to filter table A based on a column in table B. I tried a CustomFilter by using a lookup table C to generate the content of a SelectForm and the writing a query to check for the column but I can't get relationships and joins to work. Please assist me. NB: I tested the query and join on artisan tinker and it works. And I am using v2.
4 replies