How to use the @ngxs/form-plugin.UpdateFormDirty function in @ngxs/form-plugin

To help you get started, we’ve selected a few @ngxs/form-plugin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mehmetakifalp / ngxs-keep-browser-tab-sync / src / app / store / states / my-address.state.ts View on Github external
clearForm(path: string, value: any) {
        this.store.dispatch(new UpdateFormValue({ value, path }));
        this.store.dispatch(new UpdateFormDirty({ dirty: false, path }));
      }
}