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

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
      formControlName="description"
      class="form-control"
      [placeholder]="titlePlaceholder | translate"
      required
    />
    <c8y-messages *ngIf="fgOperationDescription?.controls?.description?.errors">
      <c8y-message *ngIf="fgOperationDescription.controls.description.errors.required" translate>
        This field is required.
      </c8y-message>
    </c8y-messages>
  </c8y-form-group>
  <c8y-form-group>
    <label translate>Description</label>
    <textarea
      formControlName="note"
      class="form-control"
      [placeholder]="descriptionPlaceholder | translate"
      rows="3"
    ></textarea>
  </c8y-form-group>
  <c8y-operation-scheduler formControlName="schedule"></c8y-operation-scheduler>
</div>

results matching ""

    No results matching ""