Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SafeValue must use [property]=binding #186

Open
himalayaahuja opened this issue Sep 8, 2018 · 0 comments
Open

SafeValue must use [property]=binding #186

himalayaahuja opened this issue Sep 8, 2018 · 0 comments
Labels

Comments

@himalayaahuja
Copy link

To load the local resource I created a safe-url pipe which sanitizes the resource url fetched locally after caching but then this error comes up "SafeValue must use [property]=" now i believe this is because fo the following reasons:

  1. The useImg attribute on image-loader tag generates an image tag which is not using the [src] property like displayed ([src]="url") and is added as an attribute programmatically which causes the above mentioned error.

  2. If we don't use the useImage attribute then the image url is added as a background image again causing the same issue which says "SafeValue must use [property]=" ...

We need the sanitized url to be added as a [src] property binding for this to work.

plugin version : 4.2.1
platform : android
Please let me know what else information is needed..

@ihadeed ihadeed added the bug label Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants