You need to sign in to do that
Don't have an account?
Jonathan Wolff 7
div-class does not render right
Hello,
I have a checkbox field named "Urlaub__c" on my user. Now I would like to render a Component on Accounts which I would like to have a section that is hidden, when the Urlaub__c checkbox of the owneruser is not checked.
I tried it like that:
But the section does still not hide when I uncheck the box. Could you tell me what I need to change?
I have a checkbox field named "Urlaub__c" on my user. Now I would like to render a Component on Accounts which I would like to have a section that is hidden, when the Urlaub__c checkbox of the owneruser is not checked.
I tried it like that:
<div class="header-column" width="100%" rendered="{v.OwnerUser.Urlaub__c == 'true'}">
But the section does still not hide when I uncheck the box. Could you tell me what I need to change?
Hope you are getting the value of Urlaub__c in controller.
Also can try using <aura:if>
Hope this is helpful!
Regards,
Ranjan