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

Update range field when site changes #4713

Merged
merged 4 commits into from
Nov 15, 2021
Merged

Update range field when site changes #4713

merged 4 commits into from
Nov 15, 2021

Conversation

edalzell
Copy link
Contributor

Closes #4701.

Added watch to update field when site switches.

Note that when the site is changed there's now an "unsaved data" warning, not sure how to fix that, sorry.

@edalzell
Copy link
Contributor Author

lol guess my Vue linter ain't to your liking! Sorry, is default Vetur settings....

@jasonvarga
Copy link
Member

We should set up one yes, but since there's not, a 3 line PR is still better than changing almost the whole file 👍

@jasonvarga jasonvarga changed the title Update field when site changes Update range field when site changes Nov 15, 2021
@jasonvarga jasonvarga merged commit 9f3c97c into statamic:3.2 Nov 15, 2021
@jasonvarga
Copy link
Member

Thanks!

@edalzell edalzell deleted the fix/issue-4701 branch November 15, 2021 18: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.

Range Fieldtype is not updated when switching sites in CP
2 participants