mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[ADF-147] Add input mask to Text Widget on Form (#1885)
* ADF-147 create directive to apply input mask * ADF-147 - created directive for calculate input mask * ADF-147 added input mask for text element
This commit is contained in:
@@ -21,6 +21,7 @@ import { FormFieldComponent } from './form-field.component';
|
||||
import { FormRenderingService } from './../../services/form-rendering.service';
|
||||
import { FormModel, FormFieldModel, FormFieldTypes } from './../widgets/core/index';
|
||||
import { TextWidget } from './../widgets/text/text.widget';
|
||||
import { InputMaskDirective } from './../widgets/text/text-mask.component';
|
||||
import { CheckboxWidget } from './../widgets/checkbox/checkbox.widget';
|
||||
import { WidgetVisibilityService } from './../../services/widget-visibility.service';
|
||||
|
||||
@@ -36,7 +37,7 @@ describe('FormFieldComponent', () => {
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [CoreModule],
|
||||
declarations: [FormFieldComponent, TextWidget, CheckboxWidget],
|
||||
declarations: [FormFieldComponent, TextWidget, CheckboxWidget, InputMaskDirective],
|
||||
providers: [
|
||||
FormRenderingService,
|
||||
WidgetVisibilityService
|
||||
|
Reference in New Issue
Block a user