Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 35d35e6

Browse files
maurya777Narretz
authored andcommitted
docs(guide/Forms): display scope form / master data in examples
It will be good to have the binding results in the CSS classes / binding to form / control state example, similar to the Simple Form example. Closes #12326
1 parent 5abf593 commit 35d35e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/guide/forms.ngdoc

+4
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ and failing to satisfy its validity.
9595
<input type="button" ng-click="reset()" value="Reset" />
9696
<input type="submit" ng-click="update(user)" value="Save" />
9797
</form>
98+
<pre>form = {{user | json}}</pre>
99+
<pre>master = {{master | json}}</pre>
98100
</div>
99101

100102
<style type="text/css">
@@ -183,6 +185,8 @@ didn't interact with a control
183185
<input type="button" ng-click="reset(form)" value="Reset" />
184186
<input type="submit" ng-click="update(user)" value="Save" />
185187
</form>
188+
<pre>form = {{user | json}}</pre>
189+
<pre>master = {{master | json}}</pre>
186190
</div>
187191
</file>
188192

0 commit comments

Comments
 (0)