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

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

Open
1 task done
anikghosh256 opened this issue Jun 15, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@anikghosh256
Copy link

anikghosh256 commented Jun 15, 2022

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

  • I agree to follow this project's Code of Conduct
@anikghosh256 anikghosh256 added the bug Something isn't working label Jun 15, 2022
@Baroshem
Copy link
Contributor

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 Baroshem added this to the 2.0.0 milestone Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants