Closed micahjones13 closed 1 year ago
Latest commit: f8fbe736931f127b6d1e8cf63761d35426d46e71
The changes in this PR will be included in the next version bump.
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
Name | Link |
---|---|
Latest commit | f8fbe736931f127b6d1e8cf63761d35426d46e71 |
Latest deploy log | https://app.netlify.com/sites/astro-stencil/deploys/645402357cb4220008f2f294 |
Deploy Preview | https://deploy-preview-1127--astro-stencil.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Name | Link |
---|---|
Latest commit | f8fbe736931f127b6d1e8cf63761d35426d46e71 |
Latest deploy log | https://app.netlify.com/sites/astro-preview/deploys/64540235701d6e00089201c7 |
Deploy Preview | https://deploy-preview-1127--astro-preview.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Brief Description
When dynamically adding/removing
rux-option
's from arux-option-group
, the value of therux-select
would not properly sync to arux-option
within therux-option
group. The method to sync these values wasn't being called when arux-option-group
emitted it's changed event.I left the
src/index
with an example of the fix in action for convenience of review. Check out the astro-stencil preview to see it. Here's a sandbox version of the bug without the fix as well: https://codesandbox.io/s/misty-moon-0c2nfm?file=/index.htmlJIRA Link
https://rocketcom.atlassian.net/browse/ASTRO-6186
Related Issue
https://github.com/RocketCommunicationsInc/astro/issues/1125
General Notes
Added 2 tests for adding/removing
rux-option
's from arux-option-group
and having the pre-selected value persist.Motivation and Context
Allows for pre-selected values on
rux-select
to persist when changes torux-options
within arux-option-group
are made.Issues and Limitations
Types of changes
Checklist