Skip to content

Commit 1cbf642

Browse files
committed
fix(pat autotoc): show required indicator for tabs with reuqired multicheckbox fields
1 parent 112ff1f commit 1cbf642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/autotoc/autotoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default Base.extend({
146146
}
147147

148148
for (const tab of this.tabs) {
149-
if (tab.section.querySelectorAll("[required]").length > 0) {
149+
if (tab.section.querySelectorAll("label .required, [required]").length > 0) {
150150
tab.nav.classList.add("required");
151151
} else {
152152
tab.nav.classList.remove("required");

0 commit comments

Comments
 (0)