Skip to content

Commit 8b8cff7

Browse files
committed
Fixed tables
...which by the way wasn't broken in atom's markdown preview, just saying.
1 parent 5da940c commit 8b8cff7

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/extending.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Schema Form is designed to be easily extended and there are two basic ways to do
55
1. Add a new type of field
66
2. Add a new decorator
77

8-
98
Adding a Field
109
--------------
1110
To add a new field to Schema Form you need to create a new form type and match that form type with
@@ -70,14 +69,14 @@ the defaults from the schema (it also has its part of the schema under *form.sch
7069
This is how you define and use new form field options, whatever is set on the form object is
7170
available here for you to act on.
7271

73-
| Name | What it does |
74-
|----------|----------------|
75-
| form | Form definition object |
76-
| showTitle() | Shorthand for `form && form.notitle !== true && form.title` |
77-
| errorMessage(msg) | Error message formatting, makes validationMessage option work. |
78-
| evalInScope(expr, locals) | Eval supplied expression, ie scope.$eval |
79-
| evalExpr(expr, locals) | Eval an expression in the parent scope of the main `sf-schema` directive. |
80-
| buttonClick($event, form) | Use this with ng-click to execute form.onClick |
72+
| Name | What it does |
73+
|----------|----------------|
74+
| form | Form definition object |
75+
| showTitle() | Shorthand for `form && form.notitle !== true && form.title` |
76+
| errorMessage(msg) | Error message formatting, makes validationMessage option work. |
77+
| evalInScope(expr, locals) | Eval supplied expression, ie scope.$eval |
78+
| evalExpr(expr, locals) | Eval an expression in the parent scope of the main `sf-schema` directive. |
79+
| buttonClick($event, form) | Use this with ng-click to execute form.onClick |
8180

8281
### The magic $$value$$
8382
Schema Form wants to play nice with the built in Angular directives for form. Especially `ng-model`
@@ -101,6 +100,7 @@ responsible for validating the value against the schema using [tv4js](https://gi
101100
It takes the form definition as an argument.
102101

103102
`schema-validate` also exports some things on the scope:
103+
104104
| Name | What it does |
105105
|----------|--------------|
106106
| ngModel | the ngModelController |

0 commit comments

Comments
 (0)