Skip to content

Conversation

jonathanhefner
Copy link
Member

Follow-up to #48290.

The :is(button, input)[type='submit'] selector does not match button elements that omit the type attribute in favor relying on its default value (which is "submit").

Follow-up to rails#48290.

The `:is(button, input)[type='submit']` selector does not match `button`
elements that omit the `type` attribute in favor relying on its default
value (which is `"submit"`).

Co-authored-by: Javan Makhmali <javan@javan.us>
@jonathanhefner jonathanhefner merged commit 357a49d into rails:main Nov 24, 2023
jonathanhefner added a commit that referenced this pull request Nov 24, 2023
Fix submit button selector for `type`-less buttons

(cherry picked from commit 357a49d)
jonathanhefner added a commit that referenced this pull request Nov 24, 2023
Fix submit button selector for `type`-less buttons

(cherry picked from commit 357a49d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant