Open mtilokani opened 4 years ago
Hi...
I am able to change options in select2 based on another select2 through following line: $('.select2-class').editable('option', 'source', [...]);
$('.select2-class').editable('option', 'source', [...]);
Options are getting changed, but as soon as select 1 of the option then it is showing as "Empty" as soon as I mark for save.
So is there any solution for this.
And I can also see in editable element that source gets updated but input.sourceData is still holding old set of options.
So is there any solution for this? Please help.
Hi...
I am able to change options in select2 based on another select2 through following line:
$('.select2-class').editable('option', 'source', [...]);
Options are getting changed, but as soon as select 1 of the option then it is showing as "Empty" as soon as I mark for save.
So is there any solution for this.
And I can also see in editable element that source gets updated but input.sourceData is still holding old set of options.
So is there any solution for this? Please help.