syed_eer
syed_eer
FFilament
Created by syed_eer on 11/22/2023 in #❓┊help
Pagination not showing in dashboard table widget
No description
6 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
No description
11 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
Thank you for your reply @sm.20 & @awcodes . Not possible! I felt so. I tried many things like giving array1 and array2, then using array_merge(array1, array2), but no success."
11 replies
FFilament
Created by syed_eer on 10/22/2023 in #❓┊help
Can I make getTab() in 2 lines?
No description
11 replies
FFilament
Created by syed_eer on 10/20/2023 in #❓┊help
Filament v3 has active tab filters, can I have the same in v2 also?
thanks for your reply @archilex , sure I will check it out.
4 replies
FFilament
Created by syed_eer on 9/9/2023 in #❓┊help
how can I customise the section's width?
Yeah! now this works, thank you so much @ilhamdimasprayudha .
9 replies
FFilament
Created by syed_eer on 9/9/2023 in #❓┊help
how can I customise the section's width?
Placeholder::make('course_selected')->label('Course Selected')->disabled()->content( fn ($get) => $get('course_selected') )->extraAttributes(['class' => 'text-blue-500']) and Section::make('Student Summary') ->columnSpan(1) ->schema([ ])->extraAttributes(['class' => 'text-blue-500']), tried both ways, its not working.
9 replies
FFilament
Created by syed_eer on 9/9/2023 in #❓┊help
how can I customise the section's width?
how about giving the color to text in this placeholder?
9 replies
FFilament
Created by syed_eer on 9/9/2023 in #❓┊help
how can I customise the section's width?
@ilhamdimasprayudha thanks for your reply. Amazing that works like charm.
9 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
Sure! I will move forward and let you know. @pboivin, thank you so much for your kind help.
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
so what do you suggest? which one should I use?
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
wow, this also works, Select::make('student_id') ->label('Student Name') ->options(Student::all()->pluck('name', 'id')->toArray())->reactive()->live() ->afterStateUpdated(function ($state, $set) { if ($state) { $set('fee_plan_name', Student::find($state)->fee_plan->name); } else { $set('fee_plan_name', ''); } })->searchable(), TextInput::make('fee_plan_name')->disabled(),
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
with your kind help, I think somehow I got this working, could you please check this code. Select::make('student_id') ->label('Student Name') ->options(Student::all()->pluck('name', 'id')->toArray())->reactive()->live() ->afterStateUpdated(function ($state, $set) { if ($state) { $fPId = Student::find($state)->fee_plan_id; $FPidMatch = FeePlan::where('id', $fPId)->get(); $stdFPname = $FPidMatch->pluck('name'); $set('fee_plan_name', $stdFPname); } else { $set('fee_plan_name', ''); } })->searchable(), TextInput::make('fee_plan_name')->disabled(),
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
yeah, that's right, I just need whenever the student name gets selected from the dropdown, the fee_plan_name changes accordingly (based on the fee_plan selected by this particular student in the students table).
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
@pboivin thank you so very much for your reply. Do you mean I have to make more than one select, first select will give student_id with this I can get fee_plan_id in the second select?
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
I would be grateful if someone could help me with this issue.
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
No description
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
Thank you for your reply @pboivin , so would there be any solution for this?
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
ohh ic, this is the reason that I'm getting only the four of the students records which has got all four fee_plan_id (1,2,3,4) respectively.
46 replies
FFilament
Created by syed_eer on 9/5/2023 in #❓┊help
Text or TextInput fiedl can be dynamically populated?
No description
46 replies