Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

expose overrideFormData in internal API, use it in ws.js for hx-vals processing #2417

Closed
wants to merge 1 commit into from

Conversation

Renerick
Copy link
Collaborator

@Renerick Renerick commented Mar 18, 2024

Description

After switching to FormData type for hx-vals, old implementation of ws.js that used mergeObjects was no longer working. This changes exposes method for merging FormData objects in the internal API and makes used of it in ws.js

Corresponding issue: bigskysoftware/htmx-extensions#10

Testing

I tested it using the ws-sse test server

Checklist

  • I have read the contribution guidelines
  • I have targeted this PR against the correct branch (master for website changes, dev for
    source changes)
  • This is either a bugfix, a documentation update, or a new feature that has been explicitly
    approved via an issue
  • I ran the test suite locally (npm run test) and verified that it succeeded

aral added a commit to aral/htmx-extensions that referenced this pull request Mar 19, 2024
@Renerick Renerick closed this Mar 21, 2024
@Renerick
Copy link
Collaborator Author

superseded by #2418

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.

1 participant