Skip to content
Snippets Groups Projects
Verified Commit 0159e885 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #12091 TIME 0:25 can clean select field if not required field in indexing form

parent 9694f567
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</mat-form-field> </mat-form-field>
</ng-container> </ng-container>
<ng-container *ngIf="field.type === 'select'"> <ng-container *ngIf="field.type === 'select'">
<plugin-select-search [showResetOption]="adminMode" [label]="field.label" <plugin-select-search [showResetOption]="adminMode || !field.mandatory" [label]="field.label"
[placeholderLabel]="!adminMode ? lang.chooseValue : lang.defaultValue" [placeholderLabel]="!adminMode ? lang.chooseValue : lang.defaultValue"
[formControlSelect]="arrFormControl[field.identifier]" [datas]="field.values" [formControlSelect]="arrFormControl[field.identifier]" [datas]="field.values"
(afterSelected)="launchEvent($event, field)" style="width:100%;"> (afterSelected)="launchEvent($event, field)" style="width:100%;">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment