Skip to content

Commit

Permalink
thanks to hx-target being the parent table, hx-swap is not needed here
Browse files Browse the repository at this point in the history
  • Loading branch information
biyeun committed Jun 28, 2024
1 parent c0589d6 commit bc914e5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
@dblclick="isEditing = true">
{% if edited_value %}
<form hx-vals='{"cancelEdit": {{ record.id }}, "column": "{{ column.accessor }}" }'
hx-swap="none"
hx-target="{% if table.css_id %}#{{ table.css_id }}{% else %}div.table-container{% endif %}"
hx-post="{{ request.path_info }}{% querystring %}">
<div class="badge text-bg-danger">{{ value }}</div>
Expand Down

0 comments on commit bc914e5

Please sign in to comment.