select2 attributes, init, and example
select2 attributes, init, and example
rboudwin
Posts: 28Questions: 6Answers: 1
Where is a list of the object attr: Attributes that are applied to the select element before Select2? I don't see this list in the documentation:
https://editor.datatables.net/plug-ins/field-type/editor.select2Is there a preferred version of select2 to work properly with datatables?
Is there a good working example of select2 init?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Also, (1) placeholder doesn't appear to be working in the example provided and (2) where/how are the states loaded:
In answer to my placeholder question and to help others, it appears that placeholder only works with the multiple attr set.
select
element, so whatever that element can take will work.Allan
https://editor.datatables.net/reference/field/select
From the example page you linked to:
In other words, you must be logged in to see the full Editor documentation.
I am logged in and a registered user of Editor.
You should be able to see this:
I see it now. Thank you!
Maybe I should have posted my questions separately so that I could check Answered for each one.