BlazorTable icon indicating copy to clipboard operation
BlazorTable copied to clipboard

[Bug]Bug on the detail template

Open DEUS-X9 opened this issue 2 years ago • 4 comments

Hello, Describe the bug When you input a row number and click open it open the row number : rowNumber+ 1 (obviously it count the first row as 0) and in the input of rowNumber when you click the up or down arrow it continuously add or substract to rowNumber.

To Reproduce Go to https://blazortable.netlify.app/Detail and test the input for rowNumber.

Expected behavior Open and close the input row number and add or substract only one at a time unless you do a long click.

DEUS-X9 avatar Oct 27 '21 13:10 DEUS-X9

Not really a bug since the Row Number is the row index of the table - not the Id field in the first column (which starts at 1).

You can see this if you sort the table (e.g. by Email) so Id isn't in order: clicking [Open] on the row zero always opens the top row, regardless of Id.

We should explain this point a bit more clearly on the page.

conficient avatar Nov 10 '21 12:11 conficient

Ok for the row index of the table, I understand how it works but you should not be able to put a negative int in the input or substract under 0 with the arrow (at least for this example) ; also the arrows continuously add or substract if you click it once. image

DEUS-X9 avatar Nov 10 '21 13:11 DEUS-X9

Agreed, I'll put in a fix to set the range on the box

conficient avatar Nov 10 '21 19:11 conficient

Thanks, you should also watch how the arrow increase/decrease the Row number on the video https://user-images.githubusercontent.com/33145849/141257464-2268b701-ce9c-4f34-864e-1973703622a0.mp4

DEUS-X9 avatar Nov 11 '21 07:11 DEUS-X9