All Articles

Hotwire turbo_frame_tag doesn't work within table HTML tag

turbo_frame_tag within table

Today I learned, turbo_frame_tag when used inside a <table> HTML tag doesn’t work. turbo_frame_tag insert a custom HTML tag and wraps all the content within in the custom tag.

HTML table tag doesn’t allow custom tags or limits only few HTML tags within <table> tag.

<turbo-frame id="...">
  ...
</turbo-frame>

To use turbo_frame_tag with tables is not currently possible. Refer issue for more details: issue#48

Happy Coding!!