« first day (3178 days earlier)      last day (939 days later) » 

document.querySelector('.getv').addEventListener("paste", function(p)
{
let dls = p.clipboardData.getData('text').length;
for(let i = 1; i <= dls; i++)
{
$("input[tabindex='"+ i + "']").val(p.clipboardData.getData('text')[i - 1]);
if (this.value.length >= this.maxLength)
{
$("input[tabindex='"+ i + "']").focus();
}
}
});
1 message moved from JavaScript
 
4 hours later…
05:47
18 messages moved from broomba
 
2 hours later…
 
4 hours later…
 
2 hours later…
 
1 hour later…
18:03
i am using this function below to add amount and quantify to my form

addQuantityassets(): void {
this.subitem55().push(this.newAssets());

}


To create dynamic form, which works fine..anytime I click on the function it adds a new form

The problem is I have some ngModelChange in the amount to help me check for percentage

<input
id="qty"
[placeholder]="'Quantity'"
[ngModel]="qty"
(ngModelChange)="quantityChanged($event)"
matInput
[formControlName]="'qty'">





My problem..anytime I do the quantityChange model, it keeps changing all dynamic forms..becos
1 message moved from JavaScript
i am using this function below to add amount and quantify to my form

addQuantityassets(): void {
this.subitem55().push(this.newAssets());

}


To create dynamic form, which works fine..anytime I click on the function it adds a new form

The problem is I have some ngModelChange in the amount to help me check for percentage

<input
id="qty"
[placeholder]="'Quantity'"
[ngModel]="qty"
(ngModelChange)="quantityChanged($event)"
matInput
[formControlName]="'qty'">





My problem..anytime I do the quantityChange model, it keeps changing all dynamic forms..becos
1 message moved from JavaScript
 
4 hours later…

« first day (3178 days earlier)      last day (939 days later) »