@chatterton/angular2-schema-form
Version:
Angular2 Schema Form (DISCLAIMER: it is not related to angular-schema-form)
8 lines (7 loc) • 376 B
HTML
<div class="widget form-group">
<label [attr.for]="id" class="horizontal control-label">
{{ schema.title }}
</label>
<textarea [attr.required]="schema.required" [attr.readonly]="schema.readOnly" [name]="name" class="text-widget textarea-widget form-control" [formControl]="control"></textarea>
<span *ngIf="schema.help" class="formHelp">{{schema.help}}</span>
</div>