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: no value is set in DropdownSelect and SegmentedButton when using vue-router #1597

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

niclas18
Copy link
Contributor

Like mentonied in an issue before, the vue-router package make some problems with Scale (#1194).

In our project we have found two new problems:

  1. The DropdownSelect have no value set, when setting some default.
  2. The SegmentedButton ist not selected it default inside ScaleModal (Segemented Button is not default selected inside Scale Modal #1580).

For the first point I have two Sandboxes, one with using vue-router and one without it.
Sandbox 1: DropdownSelect with using vue-router
Sandbox 1: DropdownSelect without vue-router

For the second point, there is one Sandbox in my linked issue (#1580).

The behaviour is by both the same. It looks like the vue-router package don't allow using the method getAttribute() and hasAttribute(), so the return value for it is null or "" (empty string). With the code in this PR the problem is fixed for our project and potentially all users who use the vue-router package or something similiar.

@netlify
Copy link

netlify bot commented Feb 16, 2023

Deploy Preview for marvelous-moxie-a6e2fe ready!

Name Link
🔨 Latest commit 9fbe2f8
🔍 Latest deploy log https://app.netlify.com/sites/marvelous-moxie-a6e2fe/deploys/63ee3a53d1a4770008365a88
😎 Deploy Preview https://deploy-preview-1597--marvelous-moxie-a6e2fe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jotabe87
Copy link

Could someone please review and merge this? Our development Team has been having these issues and it seems like this fix is available for quite some time now.

Copy link
Collaborator

@nowseemee nowseemee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for the PR!!! 🎉🎉🎉

@nowseemee nowseemee merged commit 72bd5de into telekom:main Apr 4, 2023
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.

3 participants