mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
[AAE-19610] Fix duplicated buttons for date-time filter widget (#9382)
This commit is contained in:
parent
672f70ac43
commit
bd9a9bb901
@ -33,13 +33,4 @@
|
|||||||
{{ getToValidationMessage() | translate: { requiredFormat: datetimePickerFormat } }}
|
{{ getToValidationMessage() | translate: { requiredFormat: datetimePickerFormat } }}
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
|
||||||
<div class="adf-facet-buttons adf-facet-buttons--topSpace" *ngIf="!settings?.hideDefaultAction">
|
|
||||||
<button mat-button color="primary" type="button" (click)="clear()" data-automation-id="datetime-range-clear-btn">
|
|
||||||
{{ 'SEARCH.FILTER.ACTIONS.CLEAR' | translate }}
|
|
||||||
</button>
|
|
||||||
<button mat-button color="primary" type="submit" [disabled]="!form.valid" data-automation-id="datetime-range-apply-btn">
|
|
||||||
{{ 'SEARCH.FILTER.ACTIONS.APPLY' | translate }}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
[selector]="category.component.selector"
|
[selector]="category.component.selector"
|
||||||
[settings]="category.component.settings">
|
[settings]="category.component.settings">
|
||||||
</adf-search-widget-container>
|
</adf-search-widget-container>
|
||||||
<div class="adf-search-filter-card-actions">
|
<div
|
||||||
|
*ngIf="!category?.component?.settings?.hideDefaultAction"
|
||||||
|
class="adf-search-filter-card-actions"
|
||||||
|
>
|
||||||
<button mat-button class="adf-search-action-button" (click)="clear()" id="clear-filter-button">
|
<button mat-button class="adf-search-action-button" (click)="clear()" id="clear-filter-button">
|
||||||
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
|
{{ 'SEARCH.FILTER.BUTTONS.CLEAR' | translate }}
|
||||||
</button>
|
</button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user