jquery-flexdatalist
jquery-flexdatalist copied to clipboard
.val(x) where x contains a comma (e.g. 'Stefani, Firo') is split in two, even if values-separator=';'
$('#author').val('Stefani, Firo')
is silently ignored due to the comma, even when values-separator=';' and selection-required="false"
I think at least part of the problem may be on line 555: values = values.split(',');
This seems to work: values = values.split(_this.options.get('valuesSeparator'));