You need to sign in to do that
Don't have an account?
KRay
conditionally rendering design attributes?
Hi All,
Is it possible to dynamically render design attributes based on the value of another attribute? The purpose of this is to show different values within Lightning App builder based on the Admin's selection.
For instance, let's say I have 2 Boolean attributes within the design bundle. By default, attribute #2 isn't visible. When attribute #1 is true, attribute #2 becomes visible, and vice versa. Is this possible within the DESIGN BUNDLE?
Is it possible to dynamically render design attributes based on the value of another attribute? The purpose of this is to show different values within Lightning App builder based on the Admin's selection.
For instance, let's say I have 2 Boolean attributes within the design bundle. By default, attribute #2 isn't visible. When attribute #1 is true, attribute #2 becomes visible, and vice versa. Is this possible within the DESIGN BUNDLE?
Use bellow code for conditionally rendering it may helpful for you.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com