mirror of
https://github.com/Choices-js/Choices.git
synced 2024-05-03 22:33:12 +02:00
Merge ff46b7c8a0
into 5dbea2825a
This commit is contained in:
commit
e2e087d606
|
@ -4101,7 +4101,7 @@ var templates = {
|
|||
disabled = _a.disabled;
|
||||
var opt = new Option(label, value, false, active);
|
||||
if (customProperties) {
|
||||
opt.dataset.customProperties = "".concat(customProperties);
|
||||
opt.dataset.customProperties = "".concat(JSON.stringify(customProperties));
|
||||
}
|
||||
opt.disabled = !!disabled;
|
||||
return opt;
|
||||
|
|
2
public/assets/scripts/choices.min.js
vendored
2
public/assets/scripts/choices.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -321,7 +321,7 @@ const templates = {
|
|||
const opt = new Option(label, value, false, active);
|
||||
|
||||
if (customProperties) {
|
||||
opt.dataset.customProperties = `${customProperties}`;
|
||||
opt.dataset.customProperties = `${JSON.stringify(customProperties)}`;
|
||||
}
|
||||
|
||||
opt.disabled = !!disabled;
|
||||
|
|
Loading…
Reference in a new issue