Skip to content

Commit f0c728d

Browse files
authored
Merge pull request #134 from code-farmz/fixes
Fixes
2 parents 9e01ea8 + 8024df7 commit f0c728d

File tree

5 files changed

+130
-120
lines changed

5 files changed

+130
-120
lines changed

projects/ng-otp-input/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-otp-input",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "A fully customizable, one-time password input component for the web built with Angular.",
55
"author": {"name": "jitender"},
66
"homepage": "https://github.com/code-farmz/ng-otp-input#readme",

projects/ng-otp-input/src/lib/components/ng-otp-input/ng-otp-input.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[ngStyle]="config.inputStyles"
99
class="otp-input {{config.inputClass}}" autocomplete="one-time-code"
1010
[formControl]="otpForm.controls[item]" #inp [id]="getBoxId(i)"
11-
(keyup)="onKeyUp($event,i)" (input)="onInput($event,i)" (keydown)="onKeyDown($event,i)" [ngClass]="{'error-input': (config?.showError && formCtrl?.invalid && (formCtrl?.dirty || formCtrl?.touched))}">
11+
(keyup)="onKeyUp($event,i)" (input)="onInput($event,i)" (keydown)="onKeyDown($event,i)" [ngClass]="{'error-input': (config?.showError && formControl?.invalid && (formControl?.dirty || formControl?.touched))}">
1212
<span *ngIf="config.separator && !last">
1313
{{config.separator}}
1414
</span>

0 commit comments

Comments
 (0)