Skip to content

feat(select): add start and end slots #28563

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

Merged
merged 38 commits into from
Nov 27, 2023
Merged

feat(select): add start and end slots #28563

merged 38 commits into from
Nov 27, 2023

Conversation

averyjohnston
Copy link
Contributor

@averyjohnston averyjohnston commented Nov 20, 2023

Issue number: Part of #26297


What is the current behavior?

With the modern form control syntax, it is not possible to add icon buttons or other decorators to the sides of ion-select, as you can with ion-item.

What is the new behavior?

start and end slots added. While making this change, I also tweaked the CSS selectors responsible for translating the label above the input with "stacked" and "floating" placements, merging this logic into a single class managed by the TSX. I needed to add a new class for whether slot content is present, so the selectors were getting unwieldy otherwise.

Docs PR TBA; I plan on knocking out all three components at once when the features are all complete, to make dev builds easier to manage.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@github-actions github-actions bot added the package: core @ionic/core package label Nov 20, 2023
@averyjohnston averyjohnston marked this pull request as ready for review November 21, 2023 19:16
@averyjohnston averyjohnston requested review from a team and brandyscarney and removed request for a team November 21, 2023 19:16
@liamdebeasi liamdebeasi requested review from liamdebeasi and removed request for brandyscarney November 21, 2023 19:25
@liamdebeasi
Copy link
Contributor

liamdebeasi commented Nov 21, 2023

Removing Brandy as reviewer in favor of myself cuz she's out 😄

Copy link
Contributor

@liamdebeasi liamdebeasi left a comment

Choose a reason for hiding this comment

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

Two optional things, but otherwise looks good. Great job!

Base automatically changed from FW-2853-base to FW-2853 November 27, 2023 15:44
@averyjohnston averyjohnston merged commit 0e70724 into FW-2853 Nov 27, 2023
@averyjohnston averyjohnston deleted the FW-2853-select branch November 27, 2023 15:51
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.

3 participants