spaite tags loading all tags

I am utilizing the Spaite Tags package to handle tags in my backend system (Filament). However, when attempting to edit a post, the loading time increases significantly due to the large number of tags being loaded. Any Solution ? code : SpatieTagsInput::make('tags')->type('ringtones'),
No description
4 Replies
Shubham chugh
Shubham chughOP2y ago
any idea ?
Patrick Boivin
I'm not too familiar with SpatieTagsInput but have you tried with a regular Select (multi-select relationship) instead? I think the options are lazy loaded by default : https://filamentphp.com/docs/2.x/forms/fields#populating-automatically-from-a-relationship
Filament
Fields - Form Builder - Filament
The elegant TALL stack form builder for Laravel artisans.
Shubham chugh
Shubham chughOP16mo ago
@Dan Harrin When I attempt to load the post resource, all post tags are also loading automatically. Given that there are a significant number of tags, it causes the browser tab to crash. Expected Behavior: Upon loading the Post Page, tags should not load automatically. When I initiate a search for tags, only a limited number of tag suggestions should appear.
Dan Harrin
Dan Harrin16mo ago
listen to Patrick, his suggestion is good and follow the #✅┊rules, dont randomly @ me
Want results from more Discord servers?
Add your server