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/lexInputLookupCell/lexInputLookupCell.js | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
index 7331ba2..a6eafdb 100644
--- a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
+++ b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.js
@@ -4,10 +4,9 @@
* @Author: chen jing wu
* @Date: 2023-04-27 11:38:36
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-05-04 11:41:06
+ * @LastEditTime: 2023-05-08 10:25:31
*/
import { LightningElement, api } from 'lwc';
-
export default class LexInputLookupCell extends LightningElement {
@api record;
@api fieldName;
@@ -15,11 +14,15 @@
@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) {
@@ -32,6 +35,9 @@
return false;
}
}
+ getSearchResult(){
+
+ }
@api
inputValue() {
--
Gitblit v1.9.1