Skip to content

馃悰 When I use django-select2 with HTMX, the new forms sometimes have major display issues.#317

Description

@LBWright

Bug Description

Image
This has been confirmed by the team at SaaS Pegasus, as well.

Steps to Reproduce

  1. Create a HTMX application
  2. Use a ModelSelect2MultipleWidget (or even a select single) widget.
  3. Create a view that loads another view (via htmx) this new view should contain the form.
  4. The form can be in a modal or a drawer, or even edited inline.
  5. Attempt to load the form several times.

Expected Behavior

I expect the form to reinitialize properly

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions