Skip to content

[v1] What's the equivalent for requestIntent(form, { value: 'submit' }) #441

Discussion options

You must be logged in to vote

That's also what Conform is using internally if the API is available. The only downside of form.requestSubmit() is slightly lower percentage (~93%) in terms of browser support comparing to element.click() (~97%).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@antoinechalifour
Comment options

@edmundhung
Comment options

Answer selected by antoinechalifour
@antoinechalifour
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants