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

fix(SfSelect): correct usage of v-model [SFUI2-1300] #2933

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

Szymon-dziewonski
Copy link
Contributor

@Szymon-dziewonski Szymon-dziewonski commented Jul 20, 2023

Related issue

https://vsf.atlassian.net/browse/SFUI2-1300

Scope of work

SfSelect pass wrongly modelValue, as value prop and then emits state via @onChange which did not work
3e3ba8d0-4b59-47e1-8d5f-1ef1df271afb.webm
Wrong applying value in sorting block, it was served as Object when it should be String

Additionally some block used as instead of tag prop

Screenshots of visual changes

Checklist

  • Self code-reviewed
  • Changes documented
  • Semantic HTML
  • SSR-friendly
  • Caching friendly
  • a11y for WCAG 2.0 AA
  • examples created
  • blocks created
  • cypress tests created

@changeset-bot
Copy link

changeset-bot bot commented Jul 20, 2023

🦋 Changeset detected

Latest commit: c9728e4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@storefront-ui/vue Patch
@storefront-ui/nuxt Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Szymon-dziewonski Szymon-dziewonski force-pushed the fix--sfselect-v-model branch 3 times, most recently from 90e481a to 9c937a7 Compare July 25, 2023 09:00
@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

[storefront-ui-vue] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

88.0% 88.0% Coverage
0.0% 0.0% Duplication

@sonarcloud
Copy link

sonarcloud bot commented Jul 25, 2023

[storefront-ui-react] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Szymon-dziewonski Szymon-dziewonski merged commit b227ddd into v2-develop Jul 25, 2023
16 checks passed
@Szymon-dziewonski Szymon-dziewonski deleted the fix--sfselect-v-model branch July 25, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants