bigskysoftware / bigskysoftware/htmx

element remains disabled in the history if hx-disabled-elt is used with HX-Push-Url header

Open
#2,232 6 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
49.4k
Forks
1.7k
Avg merge
3d 22h
Merged PRs (30d)
30

Description

Using **hx-disabled-elt** to disable a form button with new URL pushed to the history using **HX-Push-Url** header causes button saved in history in disabled state. Then if I click "back" the button is disabled.
Enabling the element back before pusing URL to the history would probably solve the problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.