core/dynamic-forms/object/object.type.component.ts
FieldType
selector | c8y-object-type |
templateUrl | ./object.type.component.html |
Properties |
|
Static Readonly CONFIG |
Type : ConfigOption
|
Default value : {
types: [{ name: 'object', component: ObjectTypeComponent }]
}
|
<div role="group" [attr.aria-labelledby]="id + '-fieldset'">
<p *ngIf="to.label" class="lead text-center m-b-16" id="{{ id + '-fieldset' }}">
{{ to.label | humanize }}
</p>
<p *ngIf="to.description" class="m-b-8">
{{ to.description }}
</p>
<div
class="form-control-feedback-message has-error"
role="alert"
*ngIf="showError && formControl.errors"
>
<formly-validation-message [field]="field"></formly-validation-message>
</div>
<formly-field *ngFor="let f of field.fieldGroup" [field]="f"></formly-field>
</div>