cobrABite
cobrABite
FFilament
Created by cobrABite on 1/17/2024 in #❓┊help
Button in Tab
No description
10 replies
FFilament
Created by cobrABite on 1/12/2024 in #❓┊help
Restrict user access to different panels based on roles
I have 2 pannels One is Pharmacy and other is clinic. I have one login page , based on roles I am redirecting to the panels.
4 replies
FFilament
Created by cobrABite on 12/27/2023 in #❓┊help
Method Filament\Clinic\Resources\ClinicResource\Pages\CheckOutRxOrder::getColumnSpan doesn't Exist
<?php namespace App\Filament\Clinic\Resources\ClinicRxOrderResource\Widgets use Filament\Widgets\Widget; class ProcessPayment extends Widget { protected static string $view = 'filament.clinic.resources.clinic-rx-order-resource.widgets.process-payment'; } The above code is the php file and below is the blade file code. <x-filament::widget> <x-filament::section> <x-slot name="heading"> User details </x-slot> </x-filament::section> </x-filament::widget>
5 replies
FFilament
Created by cobrABite on 12/12/2023 in #❓┊help
default() is not working in the Group::make()
return [ 'form' => $this->makeForm() ->schema([ Group::make() ->schema([ Section::make('Patient Billing Info') ->schema([ Grid::make(2) ->schema([ TextInput::make('first_name') ->default(function () { return self::getPatientData('first_name'); }) ->disabled(), TextInput::make('last_name') ->default(function () { return self::getPatientData('last_name'); }) ->disabled() ]), TextInput::make('email') ->default(function () { return self::getPatientData('email'); }) ->disabled(), ]), Group::make() ->schema([ Section::make('Product') ->schema([ Placeholder::make('') ->content(function(){ return new HtmlString('<h1>Testing</h1>') ;
]) ])->columns(2) ]; }. In other pages the default() is working. but in this form code it is not working
2 replies
FFilament
Created by cobrABite on 11/14/2023 in #❓┊help
Infolist Custom Entry
I need to add a update password form in infolist custom entry. But Infolist is not supporting the POST method. How can i get the input value data.
5 replies
FFilament
Created by cobrABite on 9/5/2023 in #❓┊help
datepicker is giving null while creating a modal.
I am getting null while tryinjg to get the date from datepicker in Version2. I am triggering a modal and trying to get the date from that modal.
2 replies
FFilament
Created by cobrABite on 8/28/2023 in #❓┊help
'Filament\Pages\dashboard' does not implement method 'makeFilamentTranslatableContentDriver'
How to fix this error. The resources are not showing in the navigation group
3 replies
FFilament
Created by cobrABite on 8/25/2023 in #❓┊help
How to handel filament/filament 3.x-dev requires filament/support 3.x-dev -> satisfiable by filament
please give a explanation how to solve the error
6 replies
FFilament
Created by cobrABite on 8/24/2023 in #❓┊help
V2 to V3 upgrade error
when am trying to upgrade from V2 to V3 according to the Filament documentation, I am getting "Class "Filament\PanelProvider" not found" error. So how can I fix this error.
2 replies