Yacoub Al-haidari
Yacoub Al-haidari
FFilament
Created by sezohussien on 6/25/2024 in #❓┊help
How to configure filament with multi-tenancy (Single DB) for one to one relationship with tenant ?
You will need the make customizations to it : bc the filament has multi-tenancy one to many only :
3 replies
FFilament
Created by Yacoub Al-haidari on 6/23/2024 in #❓┊help
Reset Password Not Working
Any help here !!!!!!!!!!!!!!!!!!!!!!!!!!!
4 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
3.2.80
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
No it's not true , this works fine 🔥 , but my code not LOL 😅
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
I will try
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
It seems strange , works for single select but with multiple select not works
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
this is the full code <<<
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
Not work < Select::make("attributevalues{$attributeId}") ->label("اختر قيمة الخاصية: " . $attribute->name) ->options(AttributeValue::where('attribute_id', $attributeId)->pluck('value', 'id')->toArray()) ->required() ->multiple() ->dehydrated() ->native(true) ->live(onBlur: true) ->afterStateUpdated(function (Set $set, Get $get, $state) use ($attributeId) { dd($state); $attributeValues = $get('attribute_values') ?? []; $attributeValues[$attributeId] = [$state];
$set('attribute_values', $attributeValues);
$colors = $get('colors') ?? []; $variants = generateVariants($colors, $attributeValues);
$set('Has_variants', $variants); })
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
Still not working
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
I mean , I can not access to the afterStateUpdated when the multiple is enable i added the dd() and select the AttributeValues select box but no dd() works in side the afterStateUpdated
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
i want to make this but with multiple() AttributeValues < i will provide you a new video Now
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
No access , no touch the AttributeValues :
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
After i add the ->multiple() the select not works Because I can not Access to the afterStateUpdated for getting the seleted values
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
Yes I have the ->options(AttributeValue::where('attribute_id', $attributeId)->pluck('value', 'id')->toArray()) For getting the list of the AttributeValues
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
No just inside filament resource
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
no
34 replies
FFilament
Created by Yacoub Al-haidari on 5/22/2024 in #❓┊help
multiple() select not work with afterStateUpdated
but if i remove the ->multiple() it access to the afterStateUpdated
34 replies
FFilament
Created by ganucoding on 11/28/2023 in #❓┊help
Why Select multiple & TagsInput afterStateUpdated() not triggering
Did you solve this issue ?
9 replies