Salesforce Fact #705 | Disabling few picklist values in LWC
Suppose we need to make some of the picklist values as disabled in LWC. Now, the individual options of lightning-combobox doesn't support any disabled attribute.
So, we can implement the same using slds and iteration logic. In this example, we have 3 options and option2 is disabled.
Attached are the screenshots.
Comments
Post a Comment