mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
AAE-39612 Registering click event on form widget twice (#11323)
* AAE-39612 Remove click from base and add it directly to the implementations * AAE-39612 Add unit tests for the Text Widgets * AAE-39612 Add unit tests for the Date Widgets * AAE-39612 Add unit tests for the UI Widgets * AAE-39612 Add unit tests for the People Widgets * AAE-39612 Add unit tests for the Display Text Widgets * AAE-39612 Add unit tests for the Base Viewer Widget * AAE-39612 Add unit tests for the Object View Widgets * AAE-39612 Add unit tests for the File Upload Widgets * AAE-39612 Add unit tests for the Data Table Widget
This commit is contained in:
@@ -28,6 +28,9 @@ import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
selector: 'analytics-checkbox-widget',
|
||||
imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatCheckboxModule],
|
||||
templateUrl: './checkbox.widget.html',
|
||||
host: {
|
||||
'(click)': 'event($event)'
|
||||
},
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class CheckboxWidgetAnalyticsComponent extends WidgetComponent {
|
||||
|
||||
@@ -28,6 +28,9 @@ import { TranslatePipe } from '@ngx-translate/core';
|
||||
imports: [CommonModule, TranslatePipe, ReactiveFormsModule],
|
||||
templateUrl: './dropdown.widget.html',
|
||||
styleUrls: ['./dropdown.widget.scss'],
|
||||
host: {
|
||||
'(click)': 'event($event)'
|
||||
},
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class DropdownWidgetAnalyticsComponent extends WidgetComponent implements OnInit {
|
||||
|
||||
@@ -30,6 +30,9 @@ import { MatInputModule } from '@angular/material/input';
|
||||
imports: [CommonModule, TranslatePipe, ReactiveFormsModule, MatFormFieldModule, MatInputModule],
|
||||
templateUrl: './number.widget.html',
|
||||
styleUrls: ['./number.widget.scss'],
|
||||
host: {
|
||||
'(click)': 'event($event)'
|
||||
},
|
||||
encapsulation: ViewEncapsulation.None
|
||||
})
|
||||
export class NumberWidgetAnalyticsComponent extends WidgetComponent implements OnInit {
|
||||
|
||||
Reference in New Issue
Block a user