openmct/example/forms/res/templates/exampleForm.html

19 lines
308 B
HTML
Raw Normal View History

<div ng-controller="ExampleFormController">
<mct-form structure="form" ng-model="state" name="aForm">
</mct-form>
<ul>
<li>Dirty: {{aForm.$dirty}}</li>
<li>Valid: {{aForm.$valid}}</li>
</ul>
<pre>
<textarea>
{{state | json}}
</textarea>
</pre>
</div>