Skip to content

Conversation

@liamdebeasi
Copy link
Contributor

@liamdebeasi liamdebeasi commented Jun 14, 2023

Issue number: N/A


What is the current behavior?

Textarea only accepts plaintext labels.

What is the new behavior?

  • Textarea can now accept custom HTML labels via a slot

A few implementation notes:

  • Support for dynamically adding/removing slotted content will be added in a separate PR.
  • Support for the notch outline will be added in a separate PR.
  • The existing start/end placement label overflow tests were made redundant with the new tests I added. As a result, I removed the old tests.

Does this introduce a breaking change?

  • Yes
  • No

Other information

@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 14, 2023
@liamdebeasi liamdebeasi changed the title 4409 base feat(textarea): add label slot Jun 14, 2023
@liamdebeasi liamdebeasi marked this pull request as ready for review June 14, 2023 16:58
@liamdebeasi liamdebeasi requested review from a team, brandyscarney and thetaPC and removed request for a team June 14, 2023 16:58
Copy link
Contributor

@thetaPC thetaPC left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@brandyscarney brandyscarney left a comment

Choose a reason for hiding this comment

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

Looks good besides the notch outline calculation which will be done in a separate PR. 👍

@liamdebeasi liamdebeasi merged commit 5a35918 into FW-4409 Jun 15, 2023
@liamdebeasi liamdebeasi deleted the 4409-base branch June 15, 2023 17:22
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.

5 participants