Skip to content

fix(button-toggle): clear name from host node - #15668

Merged
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:button-toggle-host-name
May 13, 2019
Merged

fix(button-toggle): clear name from host node#15668
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:button-toggle-host-name

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Along the same lines as #15368. Since we forward the name to the underlying native inside a button toggle, otherwise the results from document.getElementsByName or Protractor's By.name might be thrown off.

@crisbetocrisbeto added the target: patch This PR is targeted for the next patch release label Mar 31, 2019
@crisbeto
crisbeto requested a review from jelbourn as a code ownerMarch 31, 2019 20:21
@googlebotgooglebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Mar 31, 2019

@jelbournjelbourn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jelbournjelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker labels Apr 1, 2019
@mmalerbammalerba added aaa and removed aaa labels Apr 25, 2019
@jelbourn

Copy link
Copy Markdown
Contributor

@crisbeto this passes presubmit, just needs a rebase

Along the same lines as angular#15368. Since we forward the `name` to the underlying native inside a button toggle, otherwise the results from `document.getElementsByName` or Protractor's `By.name` might be thrown off.
@crisbeto
crisbetoforce-pushed the button-toggle-host-name branch from f09df73 to b8735c0CompareMay 13, 2019 16:09
@crisbeto

Copy link
Copy Markdown
MemberAuthor

Rebased.

@jelbourn
jelbourn merged commit 623cd06 into angular:masterMay 13, 2019
@angular-automatic-lock-bot

Copy link
Copy Markdown

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-botangular-automatic-lock-botBot locked and limited conversation to collaborators Sep 10, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: mergeThe PR is ready for merge by the caretakercla: yesPR author has agreed to Google's Contributor License Agreementtarget: patchThis PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@crisbeto@jelbourn@googlebot@mmalerba