updates to autoselect method

This commit is contained in:
Kroell 2023-04-12 13:47:18 -04:00
parent 4784112577
commit aac0efd43f

View file

@ -197,10 +197,10 @@ export default {
// //select element with matching partNumber
this.$nextTick(() => {
document.querySelector('input[value=' + this.selectedPartNumber + ']').checked = true;
const radioInput = document.querySelector('input[value=' + this.selectedPartNumber + ']');
// Fire a click event on the input so the field is updated
radioInput?.click();
});
}
}
},