Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

[Bug]Bug on the detail template #369

Open
DEUS-X9 opened this issue Oct 27, 2021 · 4 comments
Open

[Bug]Bug on the detail template #369

DEUS-X9 opened this issue Oct 27, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@DEUS-X9
Copy link

DEUS-X9 commented Oct 27, 2021

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 DEUS-X9 added the bug Something isn't working label Oct 27, 2021
@conficient
Copy link
Collaborator

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.

@DEUS-X9
Copy link
Author

DEUS-X9 commented Nov 10, 2021

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

@conficient
Copy link
Collaborator

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

@DEUS-X9
Copy link
Author

DEUS-X9 commented Nov 11, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants