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.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
index ee6dc83..e7e600a 100644
--- a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
+++ b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
@@ -4,7 +4,7 @@
* @Author: chen jing wu
* @Date: 2023-04-27 11:38:36
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-05-04 11:52:08
+ * @LastEditTime: 2023-05-18 16:37:50
-->
<template>
<template if:true={isLookup}>
@@ -12,11 +12,11 @@
object-api-name={apiName}
record-id=''
>
- <template if:true={isDisable}>
- <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden" disabled="true"> </lightning-input-field>
+ <template if:true={isRequired}>
+ <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden" disabled={isDisable} required> </lightning-input-field>
</template>
- <template if:false={isDisable}>
- <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden"> </lightning-input-field>
+ <template if:false={isRequired}>
+ <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden" disabled={isDisable}> </lightning-input-field>
</template>
</lightning-record-edit-form>
</template>
--
Gitblit v1.9.1