feat(textarea): convert to a form associated shadow component#30785
Merged
brandyscarney merged 42 commits intonextfrom Feb 5, 2026
Merged
feat(textarea): convert to a form associated shadow component#30785brandyscarney merged 42 commits intonextfrom
brandyscarney merged 42 commits intonextfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
a6088b4 to
1fd0f26
Compare
thetaPC
requested changes
Jan 16, 2026
thetaPC
reviewed
Jan 16, 2026
ShaneK
approved these changes
Jan 28, 2026
ShaneK
approved these changes
Feb 5, 2026
brandyscarney
added a commit
that referenced
this pull request
Feb 5, 2026
…#30884) Issue number: internal --------- ## What is the current behavior? Input Otp uses `scoped` encapsulation. This causes issues with CSP compatibility and is inconsistent with our goal of having all components use Shadow DOM. ## What is the new behavior? - Converts `ion-input-otp` to `shadow` with `formAssociated: true` - Adds shadow parts for inner elements ## Does this introduce a breaking change? - [x] Yes - [ ] No BREAKING CHANGE: Input Otp has been converted to use [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM). If you were targeting the internals of `ion-input-otp` in your CSS, you will need to target the `group`, `container`, `native`, `separator` or `description` [Shadow Parts](https://ionicframework.com/docs/theming/css-shadow-parts) instead, or use the provided CSS Variables. --------- Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue number: internal
What is the current behavior?
Textarea uses
scopedencapsulation. This causes issues with CSP compatibility and is inconsistent with our goal of having all components use Shadow DOM.What is the new behavior?
ion-textareatoshadowwithformAssociated: trueDoes this introduce a breaking change?
Other information
Dev build:
8.7.13-dev.11765925297.1bb45463