Code A
Code A
FFilament
Created by Code A on 9/3/2024 in #❓┊help
How to synchronize filters between Livewire components in Filament Dashboard Custome Page?
I have a situation where I have multiple Livewire Components, such as an Order component and a Driver component. When I interact with the Order component, the Driver component updates automatically. However, the AddressMapWidget does not update automatically, and I have to manually reload the page to see the changes in the AddressMapWidget. Could this be because the AddressMapWidget extends from MapWidget rather than from a Livewire Component? Is there a solution to ensure that the AddressMapWidget updates automatically when I interact with the Order component?
5 replies
FFilament
Created by Code A on 9/3/2024 in #❓┊help
How to synchronize filters between Livewire components in Filament Dashboard Custome Page?
yes I used Livewire3, thank you for providing a reference, I will try it thank you very much
5 replies
FFilament
Created by Code A on 8/30/2024 in #❓┊help
How to make the MapWidget full screen height
#solved
3 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
Oh I understand, thank you very much for the explanation.
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
I just started learning laravel
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
Sorry, I don't understand what you mean, maybe you can explain it or maybe there are references that I can see or read? but thank you very much for helping me, I have found a solution for that even though it may not be the best practice. but it solves my problem. thank you very much
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
when I try to create data without manipulating the data in group:make, there is data in another table that is null or empty
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
example I want to create data like this DB::table('order_status_histories')->insert($data_order_status_history); now the variable $data_order_status_history contains one of them in group:make the example above is just one example how to get the data in Group::Make?
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
but I want to manipulate the data in Group::make, because the data is not just a name. and I need the data in Group::make, to create data in another table
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
thanks that can help me. but when craete data how to get data that is in Group::make because when I dd($data) it is data name, and other data that is in Group::make is not in $data class OrderTask extends CreateRecord { protected static string $resource = OrderResource::class; protected function handleRecordCreation(array $data): Model { dd($data); // other data }}
16 replies
FFilament
Created by Code A on 8/27/2024 in #❓┊help
Give default value to TextInput when Edit Data
Yes, make it in the model? Like this? class Order extends Model { use HasFactory; protected $fillable = [ 'partner_id', 'address_id', 'status', ]; // other relation // partner_id from table users public function partnerUser() { return $this->belongsTo(User::class, 'partner_id'); } }
16 replies