-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(test) Add unit tests for NumberInputComponent (#117)
- Loading branch information
1 parent
5b0965a
commit 4a9f666
Showing
15 changed files
with
346 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,4 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
./package-lock.json | ||
./package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 21 additions & 20 deletions
41
projects/ngx-formentry/src/components/ngx-remote-select/remote-select.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
<div> | ||
<ng-select | ||
[ngClass]="{ 'afe-custom': theme === 'light' }" | ||
[disabled]="disabled" | ||
[items]="remoteOptions$ | async" | ||
bindLabel="label" | ||
bindValue="value" | ||
[multiple]="false" | ||
[hideSelected]="true" | ||
[compareWith]="compareItems" | ||
[trackByFn]="trackByFn" | ||
[loading]="loading" | ||
typeToSearchText="{{ 'enterMoreCharacters' | translate }}" | ||
[typeahead]="remoteOptionInput$" | ||
[(ngModel)]="selectedRemoteOptions" | ||
[appendTo]="'form'" | ||
(ngModelChange)="selected($event)" | ||
> | ||
</ng-select> | ||
</div> | ||
<ng-select | ||
[ngClass]="{ | ||
'afe-custom': theme === 'light', | ||
'invalid': invalid ? true : null, | ||
}" | ||
[disabled]="disabled" | ||
[items]="remoteOptions$ | async" | ||
bindLabel="label" | ||
bindValue="value" | ||
[multiple]="false" | ||
[hideSelected]="true" | ||
[compareWith]="compareItems" | ||
[trackByFn]="trackByFn" | ||
[loading]="loading" | ||
typeToSearchText="{{ 'enterMoreCharacters' | translate }}" | ||
[typeahead]="remoteOptionInput$" | ||
[(ngModel)]="selectedRemoteOptions" | ||
[appendTo]="'form'" | ||
(ngModelChange)="selected($event)" | ||
> | ||
</ng-select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.