|
|
|
|
@ -5,7 +5,11 @@ import {
|
|
|
|
|
ValidationErrorComponent,
|
|
|
|
|
} from '@abp/ng.theme.basic';
|
|
|
|
|
import { ModuleWithProviders, NgModule } from '@angular/core';
|
|
|
|
|
import { VALIDATION_ERROR_TEMPLATE, VALIDATION_TARGET_SELECTOR } from '@ngx-validate/core';
|
|
|
|
|
import {
|
|
|
|
|
VALIDATION_ERROR_TEMPLATE,
|
|
|
|
|
VALIDATION_INVALID_CLASSES,
|
|
|
|
|
VALIDATION_TARGET_SELECTOR,
|
|
|
|
|
} from '@ngx-validate/core';
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
exports: [BaseThemeBasicModule],
|
|
|
|
|
@ -26,6 +30,10 @@ export class ThemeBasicTestingModule {
|
|
|
|
|
provide: VALIDATION_TARGET_SELECTOR,
|
|
|
|
|
useValue: '.form-group',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
provide: VALIDATION_INVALID_CLASSES,
|
|
|
|
|
useValue: 'is-invalid',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|