How to change select to a "suggestion box"
How to change select to a "suggestion box"
jlr@athento.com
Posts: 2Questions: 0Answers: 0
Hello,
I am using the field type https://editor.datatables.net/reference/field/select in Datatables Editor. How ever, I have some fields with many options.
Is there a way to change that field to be a "suggestion box" so that the user may search inside all available options?
Thanks
This discussion has been closed.
Replies
What's a "suggestion box"? Do you mean autocomplete?
Yes, I mean autocomplete, like this https://select2.github.io/examples.html
Not sure how to do it with Editor but with data table, I let the table load then run select2 with the appropriate options from the initComplete callback handler.
There is a plug-in for Editor which allows Select2 to be used as an Editor field.
Allan