radiac / django-tagulous

Fabulous Tagging for Django
http://radiac.net/projects/django-tagulous/
Other
336 stars 66 forks source link

Disable JS parsing on SingleTagField change #181

Closed jeffbowen closed 1 month ago

jeffbowen commented 1 year ago

Disables all parsing on SingleTagField as proposed in #176.

Personally was having the issue that if for a SingleTagField I had an existing tag titled Finance/Credit Cards (no quotes), upon adding this tag to an object it would create the tags "Finance (with a quote at the start) and "Finance/Credit Cards" (with quotes). This fixes that.

Haven't dug too deep so I'm not sure if there are edge cases I'm not solving for. Going off of @radiac's proposed solution in #176. Also not sure if support for Select2 v3 is still needed. Didn't update the Select2 vs3 adapter.

radiac commented 1 month ago

Thank you for this! Looks great - sorry it has taken me so long to merge!

jeffbowen commented 1 month ago

No worries. Thanks for merging!