openmct/platform/forms/res/templates/controls/textfield.html
Charles Hacskaylo cc181dbdc9 [Frontend] Form and form control enhancements
WTD-1002
Added Angular hooks to allow form elements to have JSON defined CSS classes
Form element cleanups
2015-03-10 22:36:35 -07:00

11 lines
331 B
HTML

<span class='form-control shell'>
<span class='field control {{structure.cssclass}}'>
<input type="text"
ng-required="ngRequired"
ng-model="ngModel[field]"
ng-pattern="ngPattern"
size="{{structure.size}}"
name="mctControl">
</span>
</span>