Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget ids not updated correctly in the config file & On click on edit widget in the list, it the widget form picks up wrong widget to edit #319

Closed
iremgokce opened this issue Apr 6, 2022 · 1 comment
Labels
bug 🐛 Something isn't working

Comments

@iremgokce
Copy link
Contributor

Describe the bug
On "Widgets" tab, when I click on non-first widget item to edit, the WidgetForm is filled with the information of the first widget in that list. It is because of the "id" of the widgets are all "" empty string, so it picks up the first instance to edit.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Widgets in a behavior
  2. Click on "Edit" icon on ellipsis menu on one of the non-first widget item in the list
  3. See error

Expected behavior
The WidgetForm should pick up the right widget with its id to edit

Screenshots
image
image

image
image

Browser (please complete the following information):

  • Browser [e.g. chrome, safari, edge]

Additional context
Add any other context about the problem here.

@iremgokce iremgokce added the bug 🐛 Something isn't working label Apr 6, 2022
@iremgokce iremgokce added this to To do in Cardboard kanban via automation Apr 6, 2022
@iremgokce iremgokce changed the title On click on edit widget in the list, it the widget form picks up wrong widget to edit Widget ids not updated correctly in the config file & On click on edit widget in the list, it the widget form picks up wrong widget to edit Apr 8, 2022
@iremgokce
Copy link
Contributor Author

closing it because it was probably about a weird config state, was not able to repro today with the latest main

Cardboard kanban automation moved this from To do to Done Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
Development

No branches or pull requests

1 participant