I am programming in ASP.NET MVC, and in a web page (.cshtml) I have text input areas like:
<td>
<input type="text" value="@p.QtdVendida" asp-for="@p.QtdVendida" data-key="@p.id" id="@("p_QtdVendida" + p.id.ToString())" />
</td>
<td>
<input type="text" value="@p.QtdBonus" asp-for="@p.QtdBonus" data-key="@p.id" id="@("p_QtdBonus" + p.id.ToString())" />
</td>
How can I prevent that the list that opens automatically with previous input texts (e.g. from other sessions), and which always open in the text input in the first row of the table, even if I am editting the second row… appears? If I click in one of the listed elements, it changes only the input area in the first row…
I have the same issue in all text input (type="text"
) in the table.
Could you help me?
Thank you very much.