Bug Description
When pasting a value from the clipboard into the table search/filter input in DBCode, the pasted text is inserted twice.
Repro steps
- Open any table in DBCode.
- Focus the table search/filter input.
- Copy any value to the clipboard, for example
willi.
- Paste it into the search field using
Ctrl+V.
- Observe that the value is inserted twice, for example
williwilli.
Expected Behavior
The clipboard content should be pasted into the search field only once.
Actual Behavior
The clipboard content is duplicated on paste. For example, pasting willi results in williwilli, which then produces an incorrect filter/query value.
Environment
- DBCode version: 1.29.0
- VS Code (or fork) version: 1.111.0
- OS: Linux x64 6.18.13-zen1
- Database: pg
- Connection: ssh