File

core/dynamic-forms/file/file.type.component.ts

Extends

FieldType

Implements

OnInit

Metadata

Index

Properties
Methods

Methods

ngOnInit
ngOnInit()
Returns : void

Properties

Static Readonly CONFIG
Type : ConfigOption
Default value : { types: [ { name: 'file', component: FieldFile } ] }
dropArea
Type : DropAreaComponent
Decorators :
@ViewChild('dropArea', {static: true})
Readonly dropAreaInputs
Type : string[]
Default value : [ 'title', 'message', 'icon', 'loadingMessage', 'alwaysShow', 'clickToOpen', 'loading', 'progress', 'maxAllowedFiles', 'files', 'accept' ]
<div class="form-group" role="group" [attr.aria-labelledby]="id + '-fieldset'">
  <label id="{{ id + '-fieldset' }}" *ngIf="to.label || to.description">
    {{ to.label | humanize }}
    <button
      *ngIf="to.description"
      class="btn-help btn-help--sm text-14 m-l-4"
      [attr.aria-label]="'Help' | translate"
      [popover]="to.description"
      placement="right"
      triggers="focus"
      type="button"
    ></button>
  </label>

  <c8y-drop-area #dropArea class="drop-area-sm" [formControl]="formControl"> </c8y-drop-area>
</div>

results matching ""

    No results matching ""