Skip to content

Commit 7b3d0b5

Browse files
committed
updated unique id
1 parent 82e3ac5 commit 7b3d0b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/themes/bootstrap4.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export class bootstrap4Theme extends AbstractTheme {
126126
}
127127
}
128128

129-
const unique = label.innerText + '-' + (Date.now() * Math.random())
129+
const unique = (Date.now() * Math.random())
130130
input.setAttribute('id', unique)
131131
label.setAttribute('for', unique)
132132

0 commit comments

Comments
 (0)