Skip to content

Conversation

crisbeto
Copy link
Member

Fixes that when passing in a variant into the radio button's get-tokens function, we were removing the color tokens altogether, because passing in multiple arguments into map.remove removes all those keys, rather than removing a nested value.

Fixes #31319.

@crisbeto crisbeto requested a review from a team as a code owner June 10, 2025 07:07
@crisbeto crisbeto requested review from adolgachev and wagnermaciel and removed request for a team June 10, 2025 07:07
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Jun 10, 2025
@crisbeto crisbeto requested a review from andrewseguin June 10, 2025 07:07
@crisbeto crisbeto force-pushed the 31319/radio-color-variant branch from 9549dc3 to ae8fe4d Compare June 10, 2025 12:04
Fixes that when passing in a variant into the radio button's `get-tokens` function, we were removing the color tokens altogether, because passing in multiple arguments into `map.remove` removes all those keys, rather than removing a nested value.

Fixes angular#31319.
@crisbeto crisbeto force-pushed the 31319/radio-color-variant branch from ae8fe4d to 9d15f86 Compare June 10, 2025 12:05
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Jun 10, 2025
@crisbeto crisbeto merged commit 3f7d277 into angular:main Jun 11, 2025
23 of 25 checks passed
@crisbeto
Copy link
Member Author

The changes were merged into the following branches: main, 20.0.x

crisbeto added a commit that referenced this pull request Jun 11, 2025
…31321)

Fixes that when passing in a variant into the radio button's `get-tokens` function, we were removing the color tokens altogether, because passing in multiple arguments into `map.remove` removes all those keys, rather than removing a nested value.

Fixes #31319.

(cherry picked from commit 3f7d277)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: material/radio target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(mat-radio): radio-color mixin not emitting color theme styles
2 participants