Angular app using cloudinary image component not updating alt tags
Hi,
I have an angular app using CloudinaryImageComponent <advanced-image> and update the image when a user selects something they want to see. structured like this
— cldImage.component —
<advanced-image …. [alt]=alt></advanced-image>
— customcomponent.component —
<cldImage … [alt]=alt></cldImage>
I see the alt tag change in devtools on the advanced image but the img tag produced from CloudinaryImageComponent does not update the alt tag. I have no issues with the image changing, just the alt tag changing
output:
<cldImage ng-reflect-alt="altTag2">
<advanced-image ng-reflect-alt="altTag2>
<img alt="altTag1">
</advanced-image>
</cldImage
Comments
-
Hi there,
Does changing your syntax to alt="{{dynamicText}}" fix the issue?0 -
it does not! you can see here i started with 1 then selected 2 and the advanced image is reflecting that change but img from there isnt updating. it updates when the page loads but when i select new content it doesnt update. (ignore the …. its for privacy) @Zachary
0 -
Hi @jsch15 ,
Thanks for replying.
So this is looking like bug so I've opened an internal ticket for our SDK team to investigate this further.
I do not have an ETA currently but we will update you as soon as we know more.
Please let me know if you have any other questions or queries.
Kind Regards,
Thomas
0