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

Ensure initially selected site is correctly emitted #18401

Closed
wants to merge 2 commits into from

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Nov 29, 2021

Description:

When the site selector is used as a form field, the initially selected site might currently not be emitted correctly.
This can be seen e.g. when trying to add a new site config in search performance plugin.
The site selector initially shows a site, but the form field it is referenced to (using ng-model="form.site.id") won't have an initial value.

Review

@sgiehl sgiehl added Needs Review PRs that need a code review Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Nov 29, 2021
@sgiehl sgiehl added this to the 4.7.0 milestone Nov 29, 2021
@sgiehl sgiehl added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Nov 29, 2021
@diosmosis
Copy link
Member

@sgiehl this should be fixed in the vue-form-field branch, can you check? The selectedSite state is removed so this fix wouldn't apply there.

@sgiehl
Copy link
Member Author

sgiehl commented Nov 29, 2021

will check that

@sgiehl
Copy link
Member Author

sgiehl commented Nov 29, 2021

@diosmosis yes. works with the changes of the other PR. closing this one then.

@sgiehl sgiehl closed this Nov 29, 2021
@sgiehl sgiehl deleted the siteselectorvuefix branch November 29, 2021 21:54
@sgiehl sgiehl added duplicate For issues that already existed in our issue tracker and were reported previously. and removed not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Needs Review PRs that need a code review Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants