You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a Flowbite table generated using Phoenix Framework. A for-loop is used to enumerate against a data collection.
The last column of the table is a -dropdown-toggle. The dropdown contains an element showing the id of the current row.
However, when any of the dropdown is clicked, the id of the first row is always displayed.
Included in this report are
screenshot of application with the dropdown disabled, notice that the data in the action column matches the id in the first column
screenshot of application with dropdown enabled, and the third row clicked, notice that the id of the action column is now that of the first row, and not that of the current row.
Expected behavior
When the dropdown is clicked, the id of the current row should be displayed.
Screenshots
dropdown-disabled
Dropdown is disabled. Showing all the data. The data is accurate.
dropdown-bug
Dropdown is active. Shows the dropdown from the 3rd row.
Notice the data in the first column and the 2nd column are now different.
Also notice that the data in the 2 column is now the same as the first row's
Desktop (please complete the following information):
OS: Windows 11
Browser: Tested on Latest Version of Firefox, Chrome, Edge
Additional context
Phoenix Framework 1.7
Live View 0.18
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a Flowbite table generated using Phoenix Framework. A for-loop is used to enumerate against a data collection.
The last column of the table is a
-dropdown-toggle
. The dropdown contains an element showing the id of the current row.However, when any of the dropdown is clicked, the id of the first row is always displayed.
Included in this report are
Expected behavior
When the dropdown is clicked, the id of the current row should be displayed.
Screenshots
dropdown-disabled
Dropdown is disabled. Showing all the data. The data is accurate.
dropdown-bug
Dropdown is active. Shows the dropdown from the 3rd row.
Notice the data in the first column and the 2nd column are now different.
Also notice that the data in the 2 column is now the same as the first row's
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: