sync working code, and import type-doc
This commit is contained in:
@ -40,8 +40,8 @@ function createRadiobox(opts = {}) {
|
||||
if (opts.enabled === false) {
|
||||
input.disabled = true;
|
||||
}
|
||||
if (opts.customerAttributes != null) {
|
||||
for (let entry of Object.entries(opts.customerAttributes)) {
|
||||
if (opts.customAttributes != null) {
|
||||
for (let entry of Object.entries(opts.customAttributes)) {
|
||||
input.setAttribute(entry[0], entry[1]);
|
||||
}
|
||||
}
|
||||
@ -66,8 +66,8 @@ function createCheckbox(opts = {}) {
|
||||
if (opts.enabled === false) {
|
||||
input.disabled = true;
|
||||
}
|
||||
if (opts.customerAttributes != null) {
|
||||
for (let entry of Object.entries(opts.customerAttributes)) {
|
||||
if (opts.customAttributes != null) {
|
||||
for (let entry of Object.entries(opts.customAttributes)) {
|
||||
input.setAttribute(entry[0], entry[1]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user