evandroph

Results 2 comments of evandroph

@luiseugenio the format is correct, but I tried with the format showed on the documentations and the problem persist: ``` $('#section').select2(); var data = [ { id: 1, text: 'text1_default',...

> > Hi @luiseugenio . Just like @evandroph , exactly same scenerio, I wanted to manually set the data in select2 (refer to this https://select2.org/programmatic-control/add-select-clear-items#preselecting-options-in-an-remotely-sourced-ajax-select2) and the problem lies that...