You need to sign in to do that
Don't have an account?
Shuhbam Sinha
How to show picklist filed's value conditionally.
Hello Everyone,
I have one scenario where I need to show picklist values conditionally. I am using lightning record edit form with <lightning-input-field> to show picklist values but i want to hide some of the values . I have a datatable which is showing some records with row selection. Let say A record is selected then have to show only three values out of 6 values of that picklist field or if B record is selected , have to show only 4 values.
Can anyone please help me on the same. Thanks in advance.
I have one scenario where I need to show picklist values conditionally. I am using lightning record edit form with <lightning-input-field> to show picklist values but i want to hide some of the values . I have a datatable which is showing some records with row selection. Let say A record is selected then have to show only three values out of 6 values of that picklist field or if B record is selected , have to show only 4 values.
Can anyone please help me on the same. Thanks in advance.
Check below example to show picklist filed's value conditionally
Please mark as Best Answer if above information was helpful.
Thanks,