When working with custom Lightning-combobox in LWC most of the time you will face problems making combo box a required field. When using a Lightning-record-edit-form, you usually use lightning-input-field tag and it takes care of all the FLS (Field Level Security) and irrespective of field type it handles every type of field. However, there will be scenarios where lightning-input-field may not be suitable and end up using a custom tag. For instance, a custom lookup field or multi select custom lookup field or a custom record type selection combo box. You end up using a custom solution for these.Continue reading “LWC: Lightning-Combobox required field validation on submit button”
There will be occasions when you need to display some HTML tags like images or icons based on some condition and you end up using a formula text field to create a dynamic tag and save it as text field. It can also be a Rich-Text-Area field which will be saved as a HTML tag in backend.Continue reading “Displaying HTML tags from a text field in lightning component”
You need Lightning Message Channel for Lightning Web Component Message Service to work. Below are the steps with which you can create Lightning Message Channel.Continue reading “LWC: How to create Lightning Message Channel?”
Getting user object fields value in Lightning web component without calling an Apex class.
While working on User Interface design, many times you need to display logged in user interface. Salesforce gives a way to get ID of logged in user directly, but all other fields are usually fetched by calling an apex class.Continue reading “Get Loggedin User Details in LWC without Apex call”