Fast and reliable Bootstrap widgets in Angular (supports Ivy engine)
5.53k
stars
1.69k
forks
source link
Empty Popover being shown when no contents are present #4227
Closed
coderundebug12 closed 6 years ago
<div ngIf="limitAmountinfo.errors?.Decimal"> Decimal Error
<div ngIf="limitAmountinfo.errors?.maxlength"> Number Length Error
<div *ngIf="limitAmountinfo.errors?.MKB"> Multiplier Error
<label for="limiter" [popover]="popTemplate" placement="right" triggers="blur" [isOpen]="visibleControl.limitAmount" (click)="showPopver('limitAmount')">
<input id="limiter"
class="limiter"
autocomplete="off"
type="text"
name="limitAmount"
[popover]="limitAmount"
placement="right"
triggers="mouseenter:mouseleave"
[(ngModel)]="limitAmount"
[ngModelOptions]="{updateOn: 'blur'}"
appDecimalValidator
appMultiplierValidator
appNumberLength
appFormatNumber
required
limitAmountinfo="ngModel">
<ng-template #popTemplate> <div ngIf="limitAmountinfo.errors == undefined">{{limitAmount}}