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'),
4 Replies
any idea ?
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@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.
listen to Patrick, his suggestion is good
and follow the #✅┊rules, dont randomly @ me