I have created a custom composer using connectors, and I am currently using an HTML <select>
element to display some custom tags. The tags are being fetched from tag groups when the composer opens, but this causes a noticeable lag because the fetch takes time, leaving the composer unresponsive while it loads.
To improve this, I would like to use Discourse’s built-in tag-chooser
component and render only the specific tags I need. My requirement involves three different types of tags, so I want to use three separate tag-chooser
instances. However, I am not sure how to configure it to display only the tags I want. I looked into the allowedTagGroup
option, but it seems to only provide tag group names, and I am unclear on how to use it effectively with the tag-chooser
.
In addition, I have included multiple instances of d-editor
in my composer (as required), but they appear to be interconnected, meaning changes in one editor affect the others. I would like to know how to properly separate them so each editor can function independently.
If anyone has suggestions or best practices for resolving these two issues, I would greatly appreciate your guidance.