Skip to content

Question about deselect option #1274

@Renaud6322

Description

@Renaud6322

Hi and thanks for this nice plugin.
I would like to unselect all options if a specific one is selected.
Is it possible ?
I did that but it's not working (just tried to deselect an option for test)

onChange:function (option, checked) {
	if(option.val() == 'memo' && checked == true){
		console.log(option.val() + " " +checked);
		$('#select-dests').multiselect('deselect', 'client');

	}
},

Could you help me ?
Best regards.
Renaud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions