| | |
| | | * @Author: chen jing wu |
| | | * @Date: 2023-05-25 13:59:44 |
| | | * @LastEditors: chen jing wu |
| | | * @LastEditTime: 2023-05-30 14:54:30 |
| | | * @LastEditTime: 2023-08-01 15:34:21 |
| | | */ |
| | | import { LightningElement, track, api } from 'lwc'; |
| | | import getRecordsByName from '@salesforce/apex/lexLookupController.getRecordsByName' |
| | |
| | | @track |
| | | selectedValue = ""; |
| | | error; |
| | | @track |
| | | recordselected = false; |
| | | @api |
| | | iconname; |
| | |
| | | }) |
| | | |
| | | } |
| | | renderedCallback(){ |
| | | connectedCallback(){ |
| | | if(this.initValue != '' && this.initValue != undefined && this.initValue != null){ |
| | | this.recordselected = true; |
| | | this.selectedValue = this.initValue; |