From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523
---
force-app/main/default/lwc/lexLookup/lexLookup.js | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/lwc/lexLookup/lexLookup.js b/force-app/main/default/lwc/lexLookup/lexLookup.js
index a378a33..7d2ef23 100644
--- a/force-app/main/default/lwc/lexLookup/lexLookup.js
+++ b/force-app/main/default/lwc/lexLookup/lexLookup.js
@@ -157,6 +157,7 @@
}
connectedCallback(){
+ console.log('LexLookup accountValue = ' + this.accountValue);
console.log('isDisabledForDealerText = ' + this.isDisabledForDealerText);
}
@@ -336,6 +337,7 @@
handleClearSelection() {
this._curSelection = [];
this._hasFocus = false;
+ this.accountValue = '';
// Process selection update
this.processSelectionUpdate(true);
}
@@ -458,12 +460,12 @@
}
get getInputValue() {
- if(this.accountValue != ''){
- return this.accountValue;
- }
if (this.isMultiEntry) {
return this._searchTerm;
}
+ if(this.accountValue != ''){
+ return this.accountValue;
+ }
return this.hasSelection() ? this._curSelection[0].title : this._searchTerm;
}
--
Gitblit v1.9.1