DEV Community

Discussion on: Watch for Vuex State changes!

Collapse
 
ramblingsofben profile image
Ben Wain

Thanks for this, learned a lot. I was wondering if there was a way when using vuex watch to reset the status to 'pending' by a user action in the component?

For example if the user submits incorrect details and gets the error, then clicks back into the form that it would then reset the status back to pending?

Thanks