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

Save one settings at time #75

Closed
ReidyT opened this issue Dec 5, 2023 · 0 comments · Fixed by #86
Closed

Save one settings at time #75

ReidyT opened this issue Dec 5, 2023 · 0 comments · Fixed by #86
Assignees
Labels
bug Something isn't working

Comments

@ReidyT
Copy link
Contributor

ReidyT commented Dec 5, 2023

If you edit multiple text fields and click on a save button, the text field of this button will be saved, but the others will be reset.

This problem arrives because the useQuery get all settings. So when a SetText update the setting using mutations, all the settings are fetched again, causing the erase the current unsaved state.

@ReidyT ReidyT added the bug Something isn't working label Dec 5, 2023
@ReidyT ReidyT self-assigned this Dec 6, 2023
@ReidyT ReidyT linked a pull request Dec 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant