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;
|
||||
},
|
||||
handleInputChange() {
|
||||
if(this.selectingInitiatesLoad) {
|
||||
this.triggerButton();
|
||||
}
|
||||
else {
|
||||
console.log("A")
|
||||
if(!this.selectingInitiatesLoad) {
|
||||
// this.triggerButton();
|
||||
this.handleCheckChange();
|
||||
}
|
||||
// else {
|
||||
// this.handleCheckChange();
|
||||
// }
|
||||
},
|
||||
handleKeyupArrow() {
|
||||
console.log("B")
|
||||
if (this.isMultiSelect) {
|
||||
return; // Prevent arrow keys from doing anything if element is a checkbox
|
||||
}
|
||||
|
|
@ -121,6 +124,7 @@ export default {
|
|||
this.handleInputChange();
|
||||
},
|
||||
triggerButton() {
|
||||
console.log("C")
|
||||
if(this.selectingInitiatesLoad) {
|
||||
this.displayLoader();
|
||||
this.handleCheckChange();
|
||||
|
|
|
|||
Loading…
Reference in a new issue