Skip to content

feat(material-experimental): add test harnesses for slide-toggle #16545

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

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

jelbourn
Copy link
Member

@jelbourn jelbourn commented Jul 17, 2019

It slides, it toggles, it makes julienne fries.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jul 17, 2019
@devversion
Copy link
Member

devversion commented Jul 17, 2019

@jelbourn That actually looks like a bug. I just reproduced it in a StackBlitz (see here). We need to provide the proper checkbox validator when required. The default required validator just asserts that the value is non-undefined.. which is always the case for a boolean state.

Here is a PR that should unblock this: #16547

@jelbourn jelbourn force-pushed the slide-toggle-harness branch 2 times, most recently from e9a1461 to 7b0dfb7 Compare July 19, 2019 16:54
This is almost done, but for some reason the `ng-invalid` class is *not*
being added to the slide-toggle, making the `isValid` test fail.
@jelbourn jelbourn force-pushed the slide-toggle-harness branch from 7b0dfb7 to 1c5eb32 Compare July 23, 2019 21:11
@jelbourn jelbourn changed the title WIP feat(material-experimental): add test harnesses for slide-toggle feat(material-experimental): add test harnesses for slide-toggle Jul 23, 2019
@jelbourn jelbourn marked this pull request as ready for review July 23, 2019 21:11
@jelbourn jelbourn requested a review from crisbeto as a code owner July 23, 2019 21:11
@jelbourn jelbourn requested a review from mmalerba July 23, 2019 21:11
@jelbourn jelbourn added pr: merge safe target: patch This PR is targeted for the next patch release labels Jul 23, 2019
@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Jul 25, 2019
@jelbourn jelbourn merged commit 2a04ccf into angular:master Jul 25, 2019
andrewseguin pushed a commit that referenced this pull request Jul 29, 2019
It slides, it toggles, it makes julienne fries.
@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 11, 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 PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants