File

operations/create-bulk-operation-details/create-bulk-operation-details.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(formBuilder: FormBuilder)
Parameters :
Name Type Optional
formBuilder FormBuilder No

Inputs

bulkOperationType
Type : BulkOperationType

Methods

ngOnInit
ngOnInit()
Returns : void

Properties

descriptionPlaceholder
Type : string
Default value : gettext( 'e.g. Reset factory settings of all devices of model XYZ' )
fgOperationDescription
Type : FormGroup
titlePlaceholder
Type : string
Default value : gettext('e.g. Reset factory settings')

Accessors

bulkOperationType
setbulkOperationType(bulkOperationType: BulkOperationType)
Parameters :
Name Type Optional
bulkOperationType BulkOperationType No
Returns : void
<div [formGroup]="fgOperationDescription">
  <c8y-form-group>
    <label translate>Title</label>
    <input
      class="form-control"
      required
      formControlName="description"
      [placeholder]="titlePlaceholder | translate"
    />
  </c8y-form-group>
  <c8y-form-group>
    <label translate>Description</label>
    <textarea
      class="form-control"
      rows="3"
      formControlName="note"
      [placeholder]="descriptionPlaceholder | translate"
    ></textarea>
  </c8y-form-group>
  <c8y-operation-scheduler formControlName="schedule"></c8y-operation-scheduler>
</div>

results matching ""

    No results matching ""