Skip to content

Cannot read property 'length' of undefined #76

@YasirSherzad

Description

@YasirSherzad

hi, I keep receiving this error Cannot read property 'length' of undefined at ImageLoader.hashString (file:///android_asset/www/build/main.js:64716:19)
this is how I am using it: <img-loader class="profileImg" [src]="selectedImage" useImg></img-loader>
I also added in constructor a fallback config: this.imageLoaderConfig.setFallbackUrl('assets/images/emptyImg.png');

the app does not crash... it picks the image and displays it without problem... but in log this error always appears when the page loads... do I have to worry about this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions