This PR implements the auto complete feature in prompt textarea. The tag source are danbooru and e621. These tag files are pretty big so probably need to load it from A1111 if the user has the tag autocomplete extension installed in A1111 and have these files locally.
Some TODOs:
Hitting Tab will select the first item in the dropdown, instead of the currently selected item. I still don't find a good way to implement this because ant-design's autocomplete component does not provide feature to see what item is currently selected.
There are overlap between 2 sources, and I need to either show the source of tag or remove duplicated tags in the result.
This PR implements the auto complete feature in prompt textarea. The tag source are
danbooru
ande621
. These tag files are pretty big so probably need to load it from A1111 if the user has the tag autocomplete extension installed in A1111 and have these files locally.Some TODOs:
Tab
will select the first item in the dropdown, instead of the currently selected item. I still don't find a good way to implement this because ant-design's autocomplete component does not provide feature to see what item is currently selected.