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

Autocomplete problem with filterRemote #4588

Open
Prica25 opened this issue Sep 30, 2024 · 0 comments
Open

Autocomplete problem with filterRemote #4588

Prica25 opened this issue Sep 30, 2024 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@Prica25
Copy link

Prica25 commented Sep 30, 2024

Describe the bug
When using filterRemote: true in a "list" editor, if the backend returns a result that includes the value previously selected in the cell, the editor becomes unresponsive. It prevents the user from modifying the input (i.e., they can't delete or add letters in the cell). Essentially, the user is unable to change the selected value if the backend result contains the current cell value.

Tabulator Info
Version: 6.3 and older versions

Working Example
JSFiddle

To Reproduce
Steps to reproduce the issue:

  1. Create a Tabulator table with a column that uses the "list" editor and filterRemote: true.

  2. Pre-select a value in a cell of the column that is included in the backend's response.

  3. Click on the cell to open the editor.

  4. Try to delete or modify the existing value in the cell.

Expected behavior
The input field in the editor should allow the user to delete, edit, or modify the current value, regardless of whether it is included in the backend result when filterRemote: true is enabled.

Screenshots

2024-09-30.15-28-52.mp4

Desktop:

  • OS: Tested only on Windows
  • Browser: Chrome, Edge, Firefox

Note:
Used a random json url to populate the list but with a custom request with correct filter have the same error

@Prica25 Prica25 added the Possible Bug A possible bug that needs investigation label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant