a1111-sd-webui-tagcomplete icon indicating copy to clipboard operation
a1111-sd-webui-tagcomplete copied to clipboard

Request: Scrollable tag lists

Open Klokinator opened this issue 2 years ago • 3 comments

When autocompleting tags with this tool, it seems to max out at 5 or so tags. But if I search for Hair, I might want to scroll down with the down arrow and load more tags, if present. Maybe that option could be added somehow?

image

Klokinator avatar Oct 20 '22 06:10 Klokinator

endale the showAllResults and use CRTL+F5 reload the web

sgmklp avatar Oct 20 '22 06:10 sgmklp

Well I feel stupid. Thanks! Edit: I don't see that setting anywhere.

Klokinator avatar Oct 20 '22 12:10 Klokinator

You need to edit the config.json file which should be in your tags folder. To add a bit to it, there are three relevant settings for this: maxResults, resultStepLength, and showAllResults.

If you enable showAllResults, it will only load the amount specified in resultStepLength at once to prevent lag. It will load more if you reach the end of the list, but the standard amount of 500 is pretty big so should only matter for the very first few letters you type where a lot of tags still match. Even with showAllResults set to true, maxResults will still have an effect. It determines the maximum height of the box before it starts scrolling, so you can still set how many lines should be visible at once.

DominikDoom avatar Oct 20 '22 12:10 DominikDoom

@Klokinator I'm closing this issue as stale, feel free to re-open it if you still have issues with this.

DominikDoom avatar Nov 14 '22 12:11 DominikDoom

Totally fine! Sorry, I didn't realize I had to mark it as anything. You answered my question, Dominik.

Klokinator avatar Nov 14 '22 12:11 Klokinator

No problem, just want to keep the issue list small :D

DominikDoom avatar Nov 14 '22 12:11 DominikDoom