monzer
monzer
FFilament
Created by monzer on 1/22/2025 in #❓┊help
TextInputColumn custom validation error
Tables\Columns\TextInputColumn::make('baseShopItem.discount_price') ->label(__('validation.attributes.discount_price')) ->toggleable() ->rules([ fn (Forms\Get $get): \Closure => function (string $attribute, $value, \Closure $fail) use ($get) { if ($get('baseShopItem.price') > $value) { $fail("The {$attribute} is invalid."); } }, ]) ->extraInputAttributes(['class' => 'min-w-[68px]']), i am getting. App\Filament\Resources{closure}(): Argument #1 ($get) must be of type Filament\Forms\Get, string given
4 replies
FFilament
Created by monzer on 1/10/2025 in #❓┊help
Validate KeyValue field (value) to be numbers only
How to Validate KeyValue field (value) to be numbers only?
2 replies
FFilament
Created by monzer on 9/1/2024 in #❓┊help
how to hide table records until a filter is applied?
how to hide table records until a filter is applied?
11 replies
FFilament
Created by monzer on 6/29/2024 in #❓┊help
Filament::getTenant() is always null in any queued job
Filament::getTenant() is always null in any queued job any suggestions?
8 replies
FFilament
Created by monzer on 12/10/2023 in #❓┊help
Need help with halting process
Halting the save process does not stop new repeater items from being saved .. how to deal with this?
2 replies