Skip to content

Remove unused form auto-submit hook - #529

Merged
linkdata merged 1 commit into
mainfrom
fix/issue-506-remove-autosubmit
Oct 2, 2026
Merged

linkdata merged 1 commit into
mainfrom
fix/issue-506-remove-autosubmit

Conversation

@linkdata

@linkdata linkdata commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the undocumented data-jawsonchangesubmit browser hook.
  • Keep the Number test focused on its change event and exact Input frame; Range still uses input.

Rationale

Public GitHub code search found the attribute only in JaWS's listener and test. A search of fresh default-branch clones of the six public linkdata repositories found through their JaWS go.mod dependency (edm-loadgen, jawsauth, jawsdemo, jawstree, rinse, and xyzzy) found no use. Private downstream use cannot be determined from this search.

The hook has no Go emitter or documentation. It also calls form.submit(), which skips validation and submit handlers, and throws when the marked element has no owning form. Removing it takes the unused-hook option described in the issue. Number's data-jawsnumber change routing remains intact.

Checks

  • git diff --check passed.
  • Repository search found no remaining jawsonchangesubmit references.
  • Tests were not run.

Closes #506

@linkdata
linkdata merged commit b05622d into main Oct 2, 2026
7 checks passed
@linkdata
linkdata deleted the fix/issue-506-remove-autosubmit branch October 2, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

assets: document or remove the data-jawsonchangesubmit hook

1 participant