CSR-612 Fix arrow key issue

This commit is contained in:
Katie 2022-07-13 15:05:47 -04:00
parent 2f7ca13640
commit 8aa1de12c7

View file

@ -106,14 +106,17 @@ export default {
this.isLoaderDisplayed = true; this.isLoaderDisplayed = true;
}, },
handleInputChange() { handleInputChange() {
if(this.selectingInitiatesLoad) { console.log("A")
this.triggerButton(); if(!this.selectingInitiatesLoad) {
} // this.triggerButton();
else {
this.handleCheckChange(); this.handleCheckChange();
} }
// else {
// this.handleCheckChange();
// }
}, },
handleKeyupArrow() { handleKeyupArrow() {
console.log("B")
if (this.isMultiSelect) { if (this.isMultiSelect) {
return; // Prevent arrow keys from doing anything if element is a checkbox return; // Prevent arrow keys from doing anything if element is a checkbox
} }
@ -121,6 +124,7 @@ export default {
this.handleInputChange(); this.handleInputChange();
}, },
triggerButton() { triggerButton() {
console.log("C")
if(this.selectingInitiatesLoad) { if(this.selectingInitiatesLoad) {
this.displayLoader(); this.displayLoader();
this.handleCheckChange(); this.handleCheckChange();