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

Added type attribute to all button elements #1581

Merged
merged 1 commit into from
Jan 5, 2021

Conversation

mikelunn
Copy link
Contributor

@mikelunn mikelunn commented Jan 5, 2021

Adding type attribute tells browser what type of button it is. For most browsers the default type is submit if no type is specified. This causes a full page post back in older legacy server rendered frameworks like asp.net webforms which render entire app inside a form tag.

Adding type attribute tells browser what type of button it is. For most browsers the default type of button is submit. This causes a full page post back in older legacy server rendered frameworks like asp.net webfo
@vercel
Copy link

vercel bot commented Jan 5, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/o9946kh2v
✅ Preview: https://react-query-git-fork-mikelunn-master.tannerlinsley.vercel.app

@tannerlinsley tannerlinsley merged commit 6458c50 into TanStack:master Jan 5, 2021
@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 3.5.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants