You need to sign in to do that
Don't have an account?
Anirban Sen
{!pickVal == objRecord.{v.kanbanPicklistField}} can anyone give an workaround?
{!pickVal == objRecord.{v.kanbanPicklistField}} is there any workaround to use this type of expression is possible to use in lightning?
your question is not clear to me. But still, I try my best to answer your question.
So I consider this profileVal is an attribute on your component and you want this attribute to compare with your another sObject attribute values.
I have prepared a recipe for better understanding.
Please select as best answer if it satisfy your requirement.
The problem is suppose there is another attribute -
<aura:attribute name="fieldName" type="String" default="Name"/>
In the if condition ( <aura:if isTrue="{!v.temp == v.recordFields.Name}"> ) inspite of using "v.recordFields.Name" I want to use "v.recordFields.(v.fieldName)". In one word I wnat the fieldname to be dynamic, coming from a attribute