fix(forms): Preventing double submit when double-clicking submit buttons. (TV-908)
Merge in TEA/mina-sidor-fa-web from bugfix/TV-908-prevent-double-submit to develop
Squashed commit of the following:
commit b9f0b803a97b104647c835e9244d845b4a6fb41a
Merge: 44fd4ff8 af4f6cbe
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Tue Nov 30 08:53:56 2021 +0100
Merged develop and fixed conflicts
commit 44fd4ff8f3c58361b991142fad9c64bf6e13f329
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Nov 29 11:51:35 2021 +0100
Added custom selector to directive
commit 9c4a82556be3d78183cfa4a13413708876519643
Author: Erik Tiekstra <erik.tiekstra@arbetsformedlingen.se>
Date: Mon Nov 29 10:43:45 2021 +0100
Added directive to prevent double submit
This commit is contained in:
@@ -17,10 +17,10 @@ import { AvropModule } from './pages/avrop/avrop.module';
|
||||
registerLocaleData(localeSe);
|
||||
const providers: Provider[] = [
|
||||
ApmErrorHandler,
|
||||
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true },
|
||||
{ provide: LOCALE_ID, useValue: 'sv-SE' },
|
||||
];
|
||||
|
||||
// Skip error handler in Dev until "Uncaught Error: ApplicationRef.tick is called recursively" is fixed
|
||||
if (environment.production) {
|
||||
providers.push({
|
||||
|
||||
Reference in New Issue
Block a user