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

[Select][material-ui] Add form submission regression test #40176

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

mj12albert
Copy link
Member

@mj12albert mj12albert commented Dec 11, 2023

Related to #40128

This PR adds a test to ensure that the Select's value is not included in the FormData of a form if the name prop/attribute is not explicitly provided

@mj12albert mj12albert added test component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material labels Dec 11, 2023
@mui-bot
Copy link

mui-bot commented Dec 11, 2023

Netlify deploy preview

https://deploy-preview-40176--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against e83455e

@mj12albert mj12albert force-pushed the material/select-name-regression branch from 63e4934 to d167b41 Compare December 12, 2023 12:26
@mj12albert mj12albert changed the title [Select[material-ui] Add regression test [Select][material-ui] Add regression test Dec 14, 2023
@mj12albert mj12albert force-pushed the material/select-name-regression branch from d167b41 to 09fee90 Compare December 18, 2023 05:10
@mj12albert mj12albert force-pushed the material/select-name-regression branch from 09fee90 to e83455e Compare December 27, 2023 07:02
@mj12albert mj12albert marked this pull request as ready for review December 27, 2023 07:26
@mj12albert mj12albert changed the title [Select][material-ui] Add regression test [Select][material-ui] Add form submission regression test Dec 27, 2023
Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done taking the regression as a opportunity to add a test 😊💯

@siriwatknp siriwatknp merged commit dfbee7e into mui:master Jan 9, 2024
19 checks passed
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module! package: material-ui Specific to @mui/material test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants