1. Fabian Topfstedt
  2. django-taggit-autosuggest
  3. Issues
Issue #14 resolved

Multiple instantiations issue

Anonymous created an issue

There are special cases where a tags_autosuggest widget could be erroneously instantiated multiple times for the same id. This led to nested widgets and collisions.

Even if those cases are a bit "at the edge" (e.g. tabs inside FeinCMS), it could be useful to check if a widget for a specific id has been already instantiated and, if so, let the flow skips to next one.

Attached you can find a simple patch to do exactly that.

Comments (4)

  1. Log in to comment