fix checkbox legacy support issue
This commit is contained in:
@ -56,7 +56,8 @@ function resolveCheckbox(container, legacy) {
|
||||
if (legacy) {
|
||||
const checks = container.querySelectorAll('input[type="checkbox"]');
|
||||
for (let chk of checks) {
|
||||
if (chk.parentElement.querySelector('layer.check-box-inner') != null) {
|
||||
if (chk.parentElement.classList.contains('checkbox-wrapper')) {
|
||||
// skip
|
||||
continue;
|
||||
}
|
||||
const id = chk.id;
|
||||
|
Reference in New Issue
Block a user