neverender24
neverender24
FFilament
Created by SirAlyon on 5/23/2024 in #❓┊help
CheckboxList Issue on Custom Livewire page
you need form fill public function mount(Request $request): void { $this->form->fill(); }
3 replies
FFilament
Created by neverender24 on 12/20/2023 in #❓┊help
Placeholder badge color not working
Hi thanks, I will have to go with your solution as I don't want to have more custom css.
7 replies
FFilament
Created by neverender24 on 12/20/2023 in #❓┊help
Placeholder badge color not working
/* pending / .bg-yellow-c-100 { background-color: rgb(254 249 195) !important; } .fill-yellow-c-400 { background-color: rgb(250 204 21) !important; } .text-yellow-c-600 { background-color: rgb(202 138 4) !important; } / completed / .bg-green-c-100 { background-color: rgb(220 252 231) !important; } .fill-green-c-400 { background-color: rgb(74 222 128) !important; } .text-green-c-600 { background-color: rgb(22 163 74) !important; } / pending */ .bg-gray-c-100 { background-color: rgb(243 244 246) !important; } .fill-gray-c-400 { background-color: rgb(156 163 175) !important; } .text-gray-c-600 { background-color: rgb(75 85 99) !important; } To make it work I just make some custom in theme
7 replies
FFilament
Created by neverender24 on 11/14/2023 in #❓┊help
How to access $record in RelationManager inside Repeater Select
squint
3 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
Okay I will, thanks
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
afterStateUpdated() doesn't fire the dd(), but if I comment out searchable() it fires.
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
it returns empty array
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
Here's a video comparison with searchable() commented and not
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
yes after I selected the first select which is the drawer
17 replies
FFilament
Created by neverender24 on 8/23/2023 in #❓┊help
Dependent select searchable
If I comment searchable() the $get() will get the drawer_id, but if uncomment it, it will get a null value. That's why I can't query in the second select when using searchable in both select.
Select::make('drawer_id')
// ->searchable()

->options(Drawer::query()->pluck('name', 'id'))
->afterStateUpdated(fn (Set $set) => $set('folder_id', null))
->live()
->preload(),

Select::make('folder_id')
->searchable()
->getSearchResultsUsing(fn (Get $get): array => dd($get('drawer_id'))) //this will get null if drawer searchable is uncomment
->getOptionLabelUsing(fn ($value): ?string => Folder::find($value)?->name),
Select::make('drawer_id')
// ->searchable()

->options(Drawer::query()->pluck('name', 'id'))
->afterStateUpdated(fn (Set $set) => $set('folder_id', null))
->live()
->preload(),

Select::make('folder_id')
->searchable()
->getSearchResultsUsing(fn (Get $get): array => dd($get('drawer_id'))) //this will get null if drawer searchable is uncomment
->getOptionLabelUsing(fn ($value): ?string => Folder::find($value)?->name),
17 replies
FFilament
Created by rg.block on 8/23/2023 in #❓┊help
->extraAttribute not working on TextInput
67 replies
FFilament
Created by rg.block on 8/23/2023 in #❓┊help
->extraAttribute not working on TextInput
I don't seem to have problem with this. Forms\Components\TextInput::make('name') ->required() ->extraAttributes(['class' => 'sample']) ->maxLength(255), In my theme.css .sample { background: red !important; } seems to work with me
67 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
Select box is flickering when loading/refreshing the page
Okay so I thought it's not normal, I find this weird in v3 since its as if seamless in v2. It will be better with updates I think. Thanks
6 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
Select box is flickering when loading/refreshing the page
Select::make('transport_id') ->label('Transport') ->relationship('transport', 'description') ->createOptionForm([ TextInput::make('description') ->required() ]) ->options(Transport::all()->pluck('description', 'id')->toArray()) ->searchable()
6 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
Select box is flickering when loading/refreshing the page
@Leandro Ferreira all my select is made using this code
6 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
TextInput afterStateUpdated() reactive weird behavior
CanI mention you to the other help post I made?
41 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
TextInput afterStateUpdated() reactive weird behavior
Btw, I don't have this problem in V2, I just copy the code from there
41 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
TextInput afterStateUpdated() reactive weird behavior
Yeah, I think we go this way
41 replies
FFilament
Created by neverender24 on 8/10/2023 in #❓┊help
TextInput afterStateUpdated() reactive weird behavior
This is our first attempt with filament so we don't know yet the limitations. Coming from vue inertia
41 replies