So I have this string: 93, 94
which are the references of the values of a select.
I'm trying to set these values using:
let values = "93, 94";
$('#property-categories').selectpicker('val', values);
but not working, none of the value is selected in the select
control.
If I write: $('#property-categories').selectpicker('val', [93,94]);
works, any idea?