Skip to content
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

fix(ivy): unable to bind SafeStyle as camel case property #30328

Closed
wants to merge 1 commit into from

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented May 8, 2019

Fixes not being able to bind a SafeStyle as a camel cased style property (e.g. [style.backgroundImage]="someSafeStyle"). The issue was due to the fact that we only check the dash case property names to determine whether to sanitize a value.

This PR resolves FW-1279.

Fixes not being able to bind a `SafeStyle` as a camel cased style property (e.g. `[style.backgroundImage]="someSafeStyle"`). The issue was due to the fact that we only check the dash case property names to determine whether to sanitize a value.

This PR resolves FW-1279.
@crisbeto crisbeto force-pushed the FW-1279/camel-case-styles branch from 8c73faa to c3c97b6 Compare May 8, 2019 13:28
@crisbeto crisbeto added comp: ivy action: review The PR is still awaiting reviews from at least one requested reviewer type: bug/fix labels May 8, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 8, 2019
@crisbeto crisbeto marked this pull request as ready for review May 8, 2019 13:44
@crisbeto crisbeto requested review from a team as code owners May 8, 2019 13:44
@kara kara added action: merge The PR is ready for merge by the caretaker action: presubmit The PR is in need of a google3 presubmit target: major This PR is targeted for the next major release and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels May 8, 2019
@kara
Copy link
Contributor

kara commented May 8, 2019

presubmit

@alxhub alxhub closed this in 29786e8 May 8, 2019
@kara kara removed the action: presubmit The PR is in need of a google3 presubmit label May 8, 2019
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
)

Fixes not being able to bind a `SafeStyle` as a camel cased style property (e.g. `[style.backgroundImage]="someSafeStyle"`). The issue was due to the fact that we only check the dash case property names to determine whether to sanitize a value.

This PR resolves FW-1279.

PR Close angular#30328
@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 Sep 15, 2019
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 cla: yes target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants