Skip to content

Commit

Permalink
Fix check for invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
florian-glombik committed Nov 6, 2024
1 parent bf215cb commit dcd52fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#dateInput="ngModel"
class="form-control position-relative ps-5"
id="date-input-field"
[ngClass]="{ 'is-invalid': isValid(), 'border-warning': warning() }"
[ngClass]="{ 'is-invalid': !isValid(), 'border-warning': warning() }"
[class.ng-invalid]="!isValid()"
[ngModel]="value"
[disabled]="disabled()"
Expand Down

0 comments on commit dcd52fd

Please sign in to comment.