From cb95755fe8496d8af6d40b05c4bbd4b6df2e77ab Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 14:39:34 +0800
Subject: [PATCH] LEX Community Report&Dashboard
---
force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js | 18 ++++++++++++++++--
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
index fd6cc02..a6eafdb 100644
--- a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
+++ b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
@@ -4,26 +4,40 @@
* @Author: chen jing wu
* @Date: 2023-04-27 11:38:36
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-04-27 13:50:37
+ * @LastEditTime: 2023-05-08 10:25:31
*/
import { LightningElement, api } from 'lwc';
-
export default class LexInputLookupCell extends LightningElement {
@api record;
@api fieldName;
@api apiName;
@api type;
@api fieldType;
+ @api disable;
+ @api required;
value;
label;
connectedCallback() {
this.value = this.record[this.fieldName];
this.label = this.fieldName;
}
+ get isRequired(){
+ return this.required;
+ }
handleInputChange(event) {
this.value = event.target.value;
}
+ get isDisable(){
+ if(this.disable == true){
+ return true;
+ }else{
+ return false;
+ }
+ }
+ getSearchResult(){
+
+ }
@api
inputValue() {
--
Gitblit v1.9.1