Criar ou editar Input Data Upload

@if (editForm.controls.id.value == null && ownerOrganizationDefault == null) { } @else if (ownerOrganizationDefault != null) { }
@if (periodsSharedCollection.length==1) { } @else { }
@if (editForm.get('title')!.invalid && (editForm.get('title')!.dirty || editForm.get('title')!.touched)) {
@if (editForm.get('title')?.errors?.required) { O campo é obrigatório. }
}
@if (uploadTypeValues.length==1) { } @else { @if (editForm.get('type')!.invalid && (editForm.get('type')!.dirty || editForm.get('type')!.touched)) {
@if (editForm.get('type')?.errors?.required) { O campo é obrigatório. }
} }
@if (editForm.get('dataFile')!.value) {
Abrir
{{ editForm.get('dataFileContentType')!.value }}, {{ byteSize(editForm.get('dataFile')!.value!) }}
}
@if (editForm.get('dataFile')!.invalid && (editForm.get('dataFile')!.dirty || editForm.get('dataFile')!.touched)) {
@if (editForm.get('dataFile')?.errors?.required) { O campo é obrigatório. }
}
@if (editForm.controls.id.value !== null) {
State
{{ inputDataUpload!.state }}
}