updates to autoselect method
This commit is contained in:
parent
4784112577
commit
aac0efd43f
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue