operations/create-bulk-operation-details/create-bulk-operation-details.component.ts
OnInit
selector | c8y-create-bulk-operation-details |
templateUrl | create-bulk-operation-details.component.html |
Properties |
Methods |
Inputs |
Accessors |
constructor(formBuilder: FormBuilder)
|
||||||
Parameters :
|
bulkOperationType |
Type : BulkOperationType
|
ngOnInit |
ngOnInit()
|
Returns :
void
|
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')
|
bulkOperationType | ||||||
setbulkOperationType(bulkOperationType: BulkOperationType)
|
||||||
Parameters :
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>