Skip to content

Commit

Permalink
fix radioCB (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeArmani authored Jun 18, 2024
1 parent ec22434 commit 3be91be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions replace2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1034,8 +1034,7 @@ transform.render = async (obj, divId, previousResults = {}) => {

// handle text in combobox label...
[...divElement.querySelectorAll("label input,label textarea")].forEach(inputElement => {
let radioCB = document.getElementById(inputElement.id)

let radioCB = document.getElementById(inputElement.closest('label').htmlFor);
if (radioCB) {
let callback = (event)=>{
let nchar = event.target.value.length
Expand Down

0 comments on commit 3be91be

Please sign in to comment.