RED-7275: Fixed calendar icon.
This commit is contained in:
parent
7dca7b6b80
commit
2e65666a16
@ -87,6 +87,10 @@
|
||||
|
||||
iqser-dynamic-input {
|
||||
margin-top: 0;
|
||||
|
||||
::ng-deep mat-datepicker-toggle {
|
||||
bottom: -4px;
|
||||
}
|
||||
}
|
||||
|
||||
.workflow-input {
|
||||
@ -106,6 +110,10 @@
|
||||
font-size: 12px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
mat-datepicker-toggle {
|
||||
bottom: -12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -79,7 +79,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr
|
||||
@Debounce(50)
|
||||
@HostListener('document:click')
|
||||
clickOutside() {
|
||||
if (this.isInEditMode && this.closedDatepicker) {
|
||||
if (this.isInEditMode && !this.closedDatepicker) {
|
||||
this.close();
|
||||
}
|
||||
}
|
||||
@ -157,7 +157,7 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr
|
||||
});
|
||||
return this._formBuilder.group(config, {
|
||||
validators: control =>
|
||||
(!control.get(this.fileAttribute.id)?.value?.trim().length && !this.fileAttributeValue) ||
|
||||
(!this.isDate && !control.get(this.fileAttribute.id)?.value?.trim().length && !this.fileAttributeValue) ||
|
||||
control.get(this.fileAttribute.id)?.value === this.fileAttributeValue
|
||||
? { emptyString: true }
|
||||
: null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user