WrenAI icon indicating copy to clipboard operation
WrenAI copied to clipboard

Table is not getting selected after searching for second time

Open himanshu634 opened this issue 1 year ago • 3 comments

I was trying to select multiple tables from the search input box. I selected one table and then searched for another table and tried to select it but the first one was getting deselected.

To Reproduce Steps to reproduce the behavior:

  1. Connect To DB.
  2. Select the table.
  3. Select another table after searching it.
  4. The first one will get deselected.

Expected behavior Both tables should be selected.

Screenrecording Video is here.

himanshu634 avatar Jun 11 '24 12:06 himanshu634

Thank you for reporting this issue.

The first table got deselected because the search input filters out the selected table. For now, you will need to clear the search input to restore the selected table before submitting.

I will discuss this problem with the team to find a fix.

andreashimin avatar Jun 12 '24 02:06 andreashimin

Can I work on this issue?

himanshu634 avatar Jun 12 '24 17:06 himanshu634

Sure, your contribution would be very welcome, I can help you review the PR.

andreashimin avatar Jun 13 '24 04:06 andreashimin