nighty
nighty
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
maybe one more thing to mention .... i calll the obove code in $panel->navigation(function (NavigationBuilder $builder): NavigationBuilder {}
13 replies
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
i dont understand what you have done .... could you please explain a bit more? thanks
13 replies
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
thanks for any hint guys
13 replies
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
any hint on this?
13 replies
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
foreach($arrNavGroup as $group){ $group->collapsible(true)->collapsed(true); #dd($group); //collapsible is applied $builder->group($group); } return $builder; //collapsible flag gone after return
13 replies
FFilament
Created by TK on 5/16/2024 in #❓┊help
Setting navigation group as collapsed by default
Hello, i have to ask again ... i have a similar problem and want to collapse some NavigationGroups on loading ... in my case if i add ->collapsed() nothing changed, i am also using only a AdminPanelProvider for Navigation generation. i checked the NavigationItems with dd() and they get the corret settings - for me, it seems if the are feed back into the builder instance, this setting get completely lost.
13 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
i share this project with other developers.... i wasn´t aware, that it´s not from laravel... thanks for the hint
11 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
when converting the array for logging ... it converts only one level - if multidimensional array comes to this function it breaks - i think it has to be fixed in filament source
11 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
if i change the function this way, the error is gone: /** * Format an assoc array as a key/value string for logging * @return string */ public static function logImplodeAssoc(array $attrs): string { $l = ''; foreach( $attrs as $k => $v ) { /* changes Start */ if(is_array($v)){ continue; } /* change End */ $l .= "{ $k => $v } "; } return $l; }
11 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
i figured out something..... the error occurs in observable.php
11 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
the error happens in the function logImplodeAssoc which is not my code ... its from filament or laravel
11 replies
FFilament
Created by nighty on 6/6/2024 in #❓┊help
Repeater - Array to String Conversion when save - logImplodeAssoc
11 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
Thank you Leandro ... this was exactly what i needed ....thank you and your collegues for the great job to creating filament....
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
i think something like an event is needed when the select "items per Page" is changed
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
i think .... i have to intercept the ajax call which updates the table -> feels like this would be the perfect position for this case ... but i cannot find any way to do things like this
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
the form will not be reloaded -> when you select a different page count on the pagination
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
meanwhile i tried a different solution, the values is stored in the session - problem here is, the form will not be reloaded, it works as soon i klick in the same resource on any position that resends the form, but not without reloading
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
seems the updated value is not available
12 replies
FFilament
Created by nighty on 6/4/2024 in #❓┊help
get new (changed) Pagination Value from inside a Resource
good hint .... i tried, but is always null .... also tried with get closure
12 replies
FFilament
Created by nighty on 5/19/2024 in #❓┊help
JsTree integration to Filament
Hi thank you for the tip .... in my case it´s more like display a entire tree with related data, up to 5-6 levels. it should open a details page if i click on an item. more like this example https://www.jstree.com/demo/
5 replies