Closed
Description
Bug, feature request, or proposal:
Question/Bug
What is the expected behavior?
I don't know if the current is the right behavior but I see some discrepancies between the behaviors of the input and the slide-toggle.
Slide-toggle gets its errors even when is pristine or not touched. The input gets the errors only when is not pristine/touched or when you try to submit the form.
What is the current behavior & what are the steps to reproduce?
go to: https://plnkr.co/edit/uofeSTyA2xAHEHR8RMq0?p=preview
and simply look at the difference.
The slide-toggle already has its errors.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
angular version: 4.3.5
material version: 2.0.0-beta.8-6cdbf36
Is there anything else we should know?
Am I missing something? Is this the right procedure? Don't you think it is better to create a container like md-input-container for the checkbox and slide-toggle?