codingjoe / django-select2

This is a Django integration for Select2
https://django-select2.rtfd.io
MIT License
172 stars 52 forks source link

πŸ› data-tags: true problem in ModelSelect2TagWidget. automate seperate words. not working #274

Closed neoneo40 closed 6 months ago

neoneo40 commented 7 months ago

Bug Description

Due to the nature of Hangul, it consists of consonants and vowels. If you try to add a tag as 'λΉ„μƒκΈˆ', it will change to '비상ㄱㅑㅁ' or 'λΉ—γ…γ…‡κΈˆ' or '비ㅅㅏㄱㅑㅁ', etc. For some reason, I looked it up and found that data-tags is true when using ModelSelect2TagWidget, but this phenomenon only occurs in this case. In ModelSelect2MultipleWidget, it is normally displayed as 'λΉ„μƒκΈˆ'. I found the cause and how to solve it, but I'm not sure how to solve it. Please solve it. Adding data-ajax--delay alleviates this slightly.

Steps to Reproduce

you try to add a tag as 'λΉ„μƒκΈˆ', it will change to 'λΉ—γ…γ…‡κΈˆ' or '비ㅅㅏㄱㅑㅁ'

Expected Behavior

스크란샷 2024-04-06 α„‹α…©α„Œα…₯ᆫ 6 23 06