Skip to content

TR shouldn't use TBODY as a receiver #283

@reubenfirmin

Description

@reubenfirmin

I get that you are trying to force valid html, but that defeats the ability to create html fragments.

Consider the use case:

  • I have a table of the first N search results
  • I'm using HTMX's reveal to dynamically append additional rows of results (using hx-swap = afterend on the tbody)

Because of the way TR is defined, I cannot dynamically generate a list of TRs, which htmx will take care of appending. (Instead I have to create my own custom element for this, as a workaround, which is sub-par.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions