CSR-612 Fix arrow key issue
This commit is contained in:
parent
2f7ca13640
commit
8aa1de12c7
1 changed files with 8 additions and 4 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue