').addClass('item')
.append(
$.merge(
$('
').addClass('name').html(itemValue.label),
$('
').addClass('value').append(
$('').attr({ name: itemKey, type: 'checkbox' }).appendTo($value)
)
)
)
);
});
} else {
$input = $('').attr({ name: key, type: 'checkbox' }).appendTo($value);
if (this.isChecked) {
$input.attr('checked', 'checked');
}
}
} else {
$input = $('').attr({
name: key,
type: this.password || this.isPassword ? 'password' : 'text'
}).appendTo($value);
}
$input.data('validation-rules', this.validation);
$('