hello_world
hello_world
FFilament
Created by hello_world on 6/28/2024 in #❓┊help
form fill and default of select tag is not working
here is my mount fuction code public function mount() { $user = auth()->user()->id; $hasPosDeviceCookie = PosAssign::whereNull('deleted_at')->where('user_id', $user)->pluck('pos_devices_id'); $paymentGatewayName = count($hasPosDeviceCookie) != 0 ? 'Payment Terminals' : 'Auth.net'; $prefillData['payment_gateway_id'] = PaymentGateway::firstWhere('name', $paymentGatewayName)->id; $this->form->fill($prefillData); }
2 replies
FFilament
Created by hello_world on 6/24/2024 in #❓┊help
Attachments are not uploading when i set File Attachments Visibility as public in Rich Editor
yes our s3 bucket allow public
4 replies
FFilament
Created by hello_world on 6/24/2024 in #❓┊help
Attachments are not uploading when i set File Attachments Visibility as public in Rich Editor
even if i use my local bucket then also it wasn't working
4 replies
FFilament
Created by hello_world on 5/6/2024 in #❓┊help
->action() is not working in wizard ->nextAction()
thanks but not working
4 replies
FFilament
Created by hello_world on 5/3/2024 in #❓┊help
I can't formatState of TextColumn having value null
working Thanks @Leandro Ferreira and @Dennis Koch
20 replies
FFilament
Created by hello_world on 5/3/2024 in #❓┊help
I can't formatState of TextColumn having value null
not working bro
20 replies
FFilament
Created by hello_world on 5/3/2024 in #❓┊help
I can't formatState of TextColumn having value null
No description
20 replies
FFilament
Created by hello_world on 5/3/2024 in #❓┊help
I can't formatState of TextColumn having value null
if i have the value as null then i want to change it to '-' but i can't
20 replies
FFilament
Created by hello_world on 4/30/2024 in #❓┊help
can't hide Close button of a modal
it is working thank you
11 replies
FFilament
Created by hello_world on 4/30/2024 in #❓┊help
can't hide Close button of a modal
i want to remove this close button
11 replies
FFilament
Created by hello_world on 4/30/2024 in #❓┊help
can't hide Close button of a modal
No description
11 replies
FFilament
Created by hello_world on 4/30/2024 in #❓┊help
can't hide Close button of a modal
11 replies
FFilament
Created by hello_world on 4/30/2024 in #❓┊help
can't hide Close button of a modal
still not working
11 replies
FFilament
Created by hello_world on 4/29/2024 in #❓┊help
afterStateUpdated() is not working in Datepicker inside livewire components
Thank you it's working
12 replies
FFilament
Created by hello_world on 4/29/2024 in #❓┊help
afterStateUpdated() is not working in Datepicker inside livewire components
public function mounted(){ $this->form->fill(); }
12 replies
FFilament
Created by hello_world on 4/29/2024 in #❓┊help
afterStateUpdated() is not working in Datepicker inside livewire components
public function form(Form $form): Form
{
return $form
->statePath('data')
->schema([
Placeholder::make('partnership_name')
->label('')
->extraAttributes(['class' => 'partnership'])
->content(fn ($state) => $this->data['partnership_name']),
Placeholder::make('contact_names')
->label('')
->extraAttributes(['class' => 'contact_names'])
->content(fn ($state) => $this->data['contact_names']),
Placeholder::make('coach_names')
->label('Coach')
->extraAttributes(['class' => 'coach_name'])
->content(fn ($state) => $this->data['coach_names']),
Placeholder::make('created_at')
->label('Creation Date')
->extraAttributes(['class' => 'creation_date'])
->content(function ($state) {
$state = Carbon::parse($this->data['created_at'])->format('d/m/y');
return $state;
}),
DatePicker::make('date')
->label('')
->native(false)
->live()
->minDate(Carbon::now())
->closeOnDateSelection()
->extraAttributes(['class' => 'date_picker'])
->afterStateUpdated(function ($state) {
info($state);
}),
]);
}
public function form(Form $form): Form
{
return $form
->statePath('data')
->schema([
Placeholder::make('partnership_name')
->label('')
->extraAttributes(['class' => 'partnership'])
->content(fn ($state) => $this->data['partnership_name']),
Placeholder::make('contact_names')
->label('')
->extraAttributes(['class' => 'contact_names'])
->content(fn ($state) => $this->data['contact_names']),
Placeholder::make('coach_names')
->label('Coach')
->extraAttributes(['class' => 'coach_name'])
->content(fn ($state) => $this->data['coach_names']),
Placeholder::make('created_at')
->label('Creation Date')
->extraAttributes(['class' => 'creation_date'])
->content(function ($state) {
$state = Carbon::parse($this->data['created_at'])->format('d/m/y');
return $state;
}),
DatePicker::make('date')
->label('')
->native(false)
->live()
->minDate(Carbon::now())
->closeOnDateSelection()
->extraAttributes(['class' => 'date_picker'])
->afterStateUpdated(function ($state) {
info($state);
}),
]);
}
this is my form
12 replies
FFilament
Created by hello_world on 4/29/2024 in #❓┊help
afterStateUpdated() is not working in Datepicker inside livewire components
Thanks But not working
12 replies
FFilament
Created by hello_world on 4/16/2024 in #❓┊help
Getting Error in Sudden Change in Tab
got the solution
protected static bool $isLazy = false;
protected static bool $isLazy = false;
the error is gone by using this
9 replies