-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug, feature request, or proposal:
Support focus method on checkbox and radio inputs
What is the expected behavior?
Calling focus method on MdCheckbox and MdRadioButton should change focus to these instance. Also other focusable items in browser should lose the focus.
What is the current behavior?
focus method does not exists on MdCheckbox and MdRadioButton thus get error such as focus is not a function
What are the steps to reproduce?
http://plnkr.co/edit/9RJ5DOuPMK8b3zPeR95J?p=preview
What is the use-case or motivation for changing an existing behavior?
Similar to MdInput there should be way to focus on elements. this can be used for focusing to element with validation error
Which versions of Angular, Material, OS, browsers are affected?
Was able to reproduce on both firefox and chrome.
Is there anything else we should know?
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue