This commit is contained in:
Jason Crossfield 2022-12-08 22:23:19 +00:00 committed by GitHub
commit e2e087d606
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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;

File diff suppressed because one or more lines are too long

View file

@ -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;