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

Add search box to "list" editor and enable add items dynamically #4684

Open
kosirm opened this issue Feb 5, 2025 · 1 comment
Open

Add search box to "list" editor and enable add items dynamically #4684

kosirm opened this issue Feb 5, 2025 · 1 comment
Labels
Suggested Feature A suggested feature that is waiting review

Comments

@kosirm
Copy link

kosirm commented Feb 5, 2025

Is your feature request related to a problem? Please describe.*
1.) I need seach because I have large dropdowns with lot of data.
2.) I need multiselect because most of my cells are arrays
3.) I need to dynamicaly add items to option list

Describe the solution you'd like
Search box added to top of "list" editor dropdown. Possibility to add items to list. Working also when multiselect:true. I propose 4 options added to "list" editorParams: search: true, tags: true, addItem: true, deleteItem: true. (deleteItem only if tags: true, so editor display tags with delete icon added - image 3)

Or another route: tweak tabulator to easily include some existing library.
Libraries of inspiration:
virtual-select (very good, has also addItem functionality)
multiple-select-vanilla
multiselect-dropdown

Describe alternatives you've considered
I tried to use select2, selectize and virtual-select, etc. but non of them is working very nice with tabulator, so I decided that I will stick with tabulator "list" editor, which is built-in and is fantastic, but has no search and add item funcionality.

Additional context
Some images for inspiration:

Image

Image

Image

@kosirm kosirm added the Suggested Feature A suggested feature that is waiting review label Feb 5, 2025
@trep-kalkyl
Copy link

This is a great idea!

@kosirm kosirm changed the title Add search box to "list" editor and enable search/add item when multiselect:true Add search box to "list" editor and enable add items dynamically Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Suggested Feature A suggested feature that is waiting review
Projects
None yet
Development

No branches or pull requests

2 participants