-
Notifications
You must be signed in to change notification settings - Fork 403
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
🐞[BUG]: Form actions calling every time, when jumping to previos or other actions #1745
Comments
@markwhitfeld @arturovt what do you think, this is correct behaviour? |
@thenaim Thank you for the very thorough reproduction. I think that this is a strange interaction between the forms and devtools plugin. In theory, when the state has been updated then the form should sync with the state and the form update actions should not fire off. If the form is updated directly then those actions should fire off (as you would see when changing the tab). |
@markwhitfeld Thank you for your reply. It is very inconvenient, or rather impossible, when you want to reproduce the entire state in the application. |
Unrelated comment deleted and moved by the moderator to a separate issue: #1844 (comment) |
Unrelated comment deleted and moved by the moderator to a separate issue: #1844 (comment) |
Regarding this specific issue, I can't find any bug within the form plugin that might be causing this behavior. The plugin reacts to form events and dispatches actions; there's nothing more supernatural. Closing as not an issue (at least in the plugin). |
Affected Package
@ngxs/form-plugin
Is this a regression?
No
Description
Can you confirm that this is how it should work or I have a bug in my code?
html
ts
example stackblitz
form.plugin.issue.mp4
The text was updated successfully, but these errors were encountered: