When i set min-value = 0 the spinner alow down to infinity and beyond.
this is my source:
<m4-spinner [disabled]="blockItem(product)" (change)="addItemToCart(product, index)" [(ngModel)]="product.quantity" [min-value]="0" [max-value]="cart.flavors">
i try set a variable min with value 0 in my TS file and set this variable in bind, but not working too.
when i set min-value 1 he work, but with 0 not.
When i set min-value = 0 the spinner alow down to infinity and beyond.
this is my source: <m4-spinner [disabled]="blockItem(product)" (change)="addItemToCart(product, index)" [(ngModel)]="product.quantity" [min-value]="0" [max-value]="cart.flavors">
i try set a variable min with value 0 in my TS file and set this variable in bind, but not working too. when i set min-value 1 he work, but with 0 not.