Canner / WrenAI

🚀 Open-source SQL AI Agent for Text-to-SQL. Make Text2SQL Easy! 🙌
https://getwren.ai/oss
GNU Affero General Public License v3.0
1.73k stars 155 forks source link

Table is not getting selected after searching for second time #396

Open himanshu634 opened 3 months ago

himanshu634 commented 3 months ago

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.

andreashimin commented 3 months ago

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.

himanshu634 commented 3 months ago

Can I work on this issue?

andreashimin commented 3 months ago

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