Skip to content

feat(textarea): add experimental label slot #27677

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 24 commits into from
Jun 20, 2023
Merged

feat(textarea): add experimental label slot #27677

merged 24 commits into from
Jun 20, 2023

Conversation

liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Jun 20, 2023

Issue number: resolves #27061


What is the current behavior?

Textarea does not accept custom HTML labels

What is the new behavior?

  • Textarea accepts custom HTML labels as an experimental feature. We marked this as experimental because it makes use of "scoped slots" which is an emulated version of Web Component slots. As a result, there may be instances where the slot behavior does not exactly match the native slot behavior.

Note to reviewers: This is a combination of previously reviewed PRs. The implementation is complete, so feel free to bikeshed.

Does this introduce a breaking change?

  • Yes
  • No

Other information

Docs PR: ionic-team/ionic-docs#3001

@bolt-new-by-stackblitz
Copy link

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

@github-actions github-actions bot added the package: core @ionic/core package label Jun 20, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review June 20, 2023 20:00
@liamdebeasi liamdebeasi merged commit 8bcd9e8 into feature-7.1 Jun 20, 2023
@liamdebeasi liamdebeasi deleted the FW-4409 branch June 20, 2023 20:16
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