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

feat(checkbox): adds invisible input element to leverage built-in functionality #415

Merged
merged 1 commit into from
May 13, 2016
Merged

feat(checkbox): adds invisible input element to leverage built-in functionality #415

merged 1 commit into from
May 13, 2016

Conversation

robertmesserle
Copy link
Contributor

@googlebot googlebot added cla: yes PR author has agreed to Google's Contributor License Agreement labels May 10, 2016
[attr.aria-label]="ariaLabel"
[attr.aria-labelledby]="labelId"
[attr.aria-checked]="getAriaChecked()"
[attr.aria-disabled]="disabled"
Copy link
Member

Choose a reason for hiding this comment

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

Are aria-checked and aria-disabled necessary for a native checkbox?

@jelbourn jelbourn mentioned this pull request May 12, 2016
4 tasks
<div class="md-checkbox-inner-container">
<input #input class="md-checkbox-input" type="checkbox"
Copy link
Member

@devversion devversion May 13, 2016

Choose a reason for hiding this comment

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

Why has the input a local variable? I can't see it used in any other sections

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I don't think this is used any more.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, good call - it isn't used anymore.

Refactors checkbox to use native input element

closes #250
@jelbourn
Copy link
Member

LGTM

@jelbourn jelbourn merged commit 10ac2be into angular:master May 13, 2016
andrewseguin pushed a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
@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 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants