wotroe
wotroe
FFilament
Created by wotroe on 9/12/2023 in #❓┊help
Opening edit modal from a different resource (simple modal resources)
Thank you!
4 replies
FFilament
Created by wotroe on 8/17/2023 in #❓┊help
Hide column in relationmanager based on parent model
Sweet! That works, really appreciate the good & quick reply
4 replies
FFilament
Created by wotroe on 8/10/2023 in #❓┊help
Using ->having on a query when using a TernaryFilter
thanks!
7 replies
FFilament
Created by wotroe on 8/10/2023 in #❓┊help
Using ->having on a query when using a TernaryFilter
didn't mean to mention! sorry 😅
7 replies
FFilament
Created by wotroe on 8/10/2023 in #❓┊help
Using ->having on a query when using a TernaryFilter
How would this work on Filament 3? @Dan Harrin on github mentioned something about having a baseQuery() method so I wouldn't need to make a custom filter
7 replies
FFilament
Created by wotroe on 8/10/2023 in #❓┊help
Using ->having on a query when using a TernaryFilter
7 replies
FFilament
Created by wotroe on 8/10/2023 in #❓┊help
Using ->having on a query when using a TernaryFilter
https://github.com/filamentphp/filament/discussions/6753 Looks like I'm running into a similar issue to this
7 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
btw- I'm not looking at creating new models, just connecting already existing ones. So it looks like Repeaters aren't what I'm looking for
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
Thanks a ton for helping me out so far, I really really appreciate it!!
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
I might go for mutateFormDataBeforeSave, but I'll look at Repeaters first
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
A repeater could make sense, but preferably the fields for the types of customers would already exist on the table as shown in my 2nd/3rd image
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
So a HostbillClient can have ONE ExternalCustomer of the type csp_tenant and ONE ExternalCustomer of the type mobile_customer
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
A HostbillClient can have multiple ExternalCustomer of different types
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
It's kinda tricky, yeah
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
that definitely sounds more like what I'm looking for, the problem is that the relation fields are on the other table, so I'm not modifying the 'current' model. I'm trying to modify the hostbil_client_id field on an ExternalCustomer model, from a HostbillClient model in a HostbillClientResource.
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
Haven't really worked with relationmanagers in edit forms, but it definitely sounds like something that could work
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
I haven't, how would that work in this case?
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
19 replies
FFilament
Created by wotroe on 8/3/2023 in #❓┊help
Filling in hasMany relationship from Filament form
This is how my database looks. I have a resource for my HostbillClient model, and I want to add a handful of external customers to this HostbillClient. A HostbillClient can have multiple ExternalCustomers, but there is an unique constraint on the external_customers table on the external_customers_type and hostbill_client_id table. So a HostbillClient can only have one ExternalCustomer connected of a specific type.
19 replies