Skip to content

Set to enabled on rebuild when options is not empty and disableIfEmpty is true #494

@ludo6577

Description

@ludo6577

I have created an empty list with the "disabledIfEmpty" option to true. Then i append some options in the list and rebuild it as in this example:

$.each(data, function (i, item) {
   selectControl.append('<option value="' + item.value + '" parentKey="' + item.parentKey + '">' + item.label + '</option>');
});
selectControl.multiselect('rebuild');

but the list stay disabled. Am i doing it wrong or is this a bug?
If it is really a bug see pull request: #495

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions