cobrABite
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
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
]) ])->columns(2) ]; }. In other pages the default() is working. but in this form code it is not working
2 replies