Click here to Skip to main content
15,441,816 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am using below input tag in table and been shown in each row. If I try to enter any input field moves /flips with table row.

How can resolve this?

What I have tried:

code:

<pre><input maxlength="10" type="text" id="reserveQty" [ngClass]="{'invalid':(!data.priceUnitQuantity || data.priceUnitQuantity == 0)}" 
                    class="sh-input-border form-control item-tile-quantity qty shopping-cart-line-item-quantity-input"
                    autocomplete="off" type="text"  [ngModel]="data.priceUnitQuantity | number:'1.0'" (ngModelChange)="countItemPrice(data,$event)"/>
Posted
Comments
Chris Copeland 29-Mar-22 4:31am    
There's not really enough to go on here, what do you mean the "input field moves/flips with table row"? We need more than just the HTML for the input, there might be something wrong with the structure of the table itself?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900