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

fix(select): modern syntax works with forms #27480

Merged
merged 2 commits into from
May 16, 2023
Merged

fix(select): modern syntax works with forms #27480

merged 2 commits into from
May 16, 2023

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented May 15, 2023

Issue number: resolves #27478


What is the current behavior?

The modern syntax render function was missing renderHiddenInput which caused modern ion-select instances to not participate in form submission. Legacy syntax is not affected.

What is the new behavior?

  • Modern syntax calls renderHiddenInput.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Dev build: 7.0.7-dev.11684158250.1920157d

@stackblitz
Copy link

stackblitz bot commented May 15, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@liamdebeasi liamdebeasi changed the title Fw 4351 @liamdebeasi fix(select): modern syntax works with forms May 15, 2023
@github-actions github-actions bot added the package: core @ionic/core package label May 15, 2023
@liamdebeasi liamdebeasi changed the title @liamdebeasi fix(select): modern syntax works with forms fix(select): modern syntax works with forms May 15, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review May 15, 2023 13:59
@liamdebeasi liamdebeasi requested a review from a team as a code owner May 15, 2023 13:59
@github-actions github-actions bot added package: react @ionic/react package package: vue @ionic/vue package labels May 15, 2023
@liamdebeasi liamdebeasi force-pushed the FW-4351 branch 2 times, most recently from 330280e to 920157d Compare May 15, 2023 14:53
@liamdebeasi liamdebeasi removed the request for review from averyjohnston May 15, 2023 14:53
@github-actions github-actions bot removed package: react @ionic/react package package: vue @ionic/vue package labels May 15, 2023
@liamdebeasi
Copy link
Contributor Author

liamdebeasi commented May 15, 2023

Accidentally pushed a React commit from a different patch which added Amanda as a reviewer. I removed the wrong commit and removed Amanda as a reviewer, but still feel free to review if you'd like!

@liamdebeasi liamdebeasi added this pull request to the merge queue May 16, 2023
Merged via the queue into main with commit 13d2d11 May 16, 2023
@liamdebeasi liamdebeasi deleted the FW-4351 branch May 16, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: ion-select value not posted in no-legacy mode (vanilla javascript)
2 participants