You need to sign in to do that
Don't have an account?
Niladri Chakraborty 12
Access Check Failed! AttributeSet.get(): attribute 'image' of component
Hi I'm new to Eainstein analytics. I would like to develop a lightning component which will take image url & show the image. So I created this component
But while running the component, I'm getting error message
Can you help me to resolve this issue?
<aura:component implements="flexipage:availableForAllPageTypes" access="global" controller="MyController" > <lightning:card title="Partner Information"> <Div> <p><lightning:input aura:name="image" label ="Enter image url" type="text"/></p> <br></br> <img url="{!v.image}" /> </Div> </lightning:card> </aura:component>My purpose is to display the image using the URL & predict the image using the url
But while running the component, I'm getting error message
This page has an error. You might just need to refresh it. Access Check Failed! AttributeSet.get(): attribute 'image' of component 'markup://c:EinsteinPrediction {3:0}' is not visible to 'markup://c:EinsteinPrediction {3:0}'. Failing descriptor: {c:EinsteinPrediction}
Can you help me to resolve this issue?
The "image" should be an attribute in your component. You can use the below code: