You need to sign in to do that
Don't have an account?
Amit .
Please help me in aura attribute failed while deploy the source to org from VS code. I am taking the standard attribute from lightning component library . i have done no changes in it but still it is failing with errorr invalid attribute name
<aura:attribute name="options" type="List" default="[ {'label': 'New', 'value': 'new'}, {'label': 'In Progress', 'value': 'inProgress'}, {'label': 'Finished', 'value': 'finished'}, ]"/>
I tried to replicated it with this code but wasnot getting any issue, could you share the entire code in code block (not as screenshot ) so that I can try with detailed code.
Thanks!
Please share component code for further investigation.
Regards
Same issue with me as well, did you fin the solution eslwhere?
Thanks!
Just found out, the aura:attribute should be immediately agter the aura:component tag & not within the card. Below should work fine: