-3
Guys, I need to know how to call a Lect2 with multiple default values. That is, how to leave pre-existing options in Lect2.
Example:
I have a list of the database'name','Nome2','name3'. I want when loading the tab to be selected by default'name' and'Nome2'
Detail, I’m not using a list but a <input type="text">
This question needs more detail. What code have you experienced? what error are you making? what is your current html structure?
– MoshMage
I voted to reopen, although the question is still poorly worded, because I understood what the AP wants and still need to quote a question on version 4.0 of Select2 where changes a detail.
– Guilherme Nascimento