demo(slide-toggle): fix slide-toggle required demo (#3793)

Fixes the slide-toggle required demo, where the component will be compared with the native required state.

Basically in the demo, the form should be validated native and should show the browsers popup if the slide-toggle is required.
This commit is contained in:
Paul Gschwendtner
2017-03-31 19:43:13 +02:00
committed by tinayuangao
parent a225b77fc4
commit 724170df24
@@ -14,7 +14,7 @@
<p>Example where the slide toggle is required inside of a form.</p>
<form #form="ngForm" (ngSubmit)="onFormSubmit()">
<form #form="ngForm" (ngSubmit)="onFormSubmit()" ngNativeValidate>
<md-slide-toggle name="slideToggle" required ngModel>
Slide Toggle