vendure icon indicating copy to clipboard operation
vendure copied to clipboard

"Invalid prop: type check failed for prop "src". Expected String, got Undefined" [Bug]:

Open anikghosh256 opened this issue 2 years ago • 1 comments

Expected Behavior

It should not be there.

Actual Behavior

It is showing error on the console. Invalid prop: type check failed for prop "src". Expected String, got Undefined

Possible Solution

No response

Steps to reproduce

set enableZoom to true.

<SfGallery :enableZoom="true" :images="productGallery" class="product__gallery" />

What version of vendure integration are you using?

1.2.0

What version of Node.js are you using?

v16.15.1

What browser (and version) are you using?

Chrome - Version 102.0.5005.63 (Official Build) (64-bit)

What operating system (and version) are you using?

Windows

Relevant log output

vue.runtime.esm.js?2b0e:619 [Vue warn]: Invalid prop: type check failed for prop "src". Expected String, got Undefined 

found in

---> <SfImage> at node_modules/@storefront-ui/vue/src/components/atoms/SfImage/SfImage.vue
       <SfGallery> at node_modules/@storefront-ui/vue/src/components/molecules/SfGallery/SfGallery.vue
         <Anonymous>
           <LazyHydrate>
             <Product> at pages/Product.vue
               <Nuxt>
                 <DefaultLayout> at layouts/default.vue
                   <Root>

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

anikghosh256 avatar Jun 15 '22 14:06 anikghosh256

Hey @anikghosh256

Thanks for reporting this issue. Maybe you would like to create a pull request with this change? I can provide any help needed 🙂

Baroshem avatar Jun 15 '22 15:06 Baroshem