core/dynamic-forms/object/object.type.component.ts
FieldType
selector | c8y-object-type |
templateUrl | ./object.type.component.html |
Properties |
|
Static Readonly CONFIG |
CONFIG:
|
Type : ConfigOption
|
Default value : {
types: [{ name: 'object', component: ObjectTypeComponent }]
}
|
<div role="group"
[attr.aria-labelledby]="id + '-fieldset'"
>
<div id="{{id + '-fieldset'}}"
class="legend form-block"
*ngIf="to.label"
>{{ to.label }}</div>
<p *ngIf="to.description">{{ 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>