Skip to content

Commit b6277de

Browse files
author
levkovskiy.dmitry
committed
Fix examples typos
1 parent 9a32e19 commit b6277de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/app/app.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ <h2>Angular 2 Forms</h2>
2626
<dx-text-box formControlName="passwordControl" [(ngModel)]="password" mode="password" [isValid]="passwordControl.valid || passwordControl.pristine" [validationError]="{ message: 'Password should be greater that six symbols' }"></dx-text-box>
2727

2828
</div>
29-
<label>Toggle form constrols state: </label>
30-
<dx-switch (onValueChanged)="toggleFormConsrolsState($event)"></dx-switch><br/>
29+
<label>Toggle form controls state: </label>
30+
<dx-switch (onValueChanged)="toggleFormControlsState($event)"></dx-switch><br/>
3131
<dx-button text="Submit" (onClick)="onSubmit()"></dx-button>
3232
</form>
3333

examples/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class AppComponent implements OnInit {
169169
callNumber(number) {
170170
alert(number + ' is being called...');
171171
}
172-
toggleFormConsrolsState(e) {
172+
toggleFormControlsState(e) {
173173
if (e.value) {
174174
this.emailControl.disable();
175175
this.passwordControl.disable();

0 commit comments

Comments
 (0)