1

Is there a possibility to get the Label of current field using aura:iteration ?

<aura:iteration items="{!v.objectName}" var="objectName"> 
     <lightning:input value="{!objectName.field1}" label="{!objectName.field1.Name}"/> 
     ....
</aura:iteration>

I checked the variations like label="{!objectName.field1.Name}" and label="{!objectName.field1.Label}".

I add that the field values display correctly.

2

0

You must log in to answer this question.

Browse other questions tagged .