File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 5
5
*
6
6
* NOTE: This version is not in sync with the source repo as it has
7
7
* been modified to work with the new version of the framework in development
8
- *
8
+ *
9
9
* @example
10
10
* {
11
11
* "type":"calculate",
12
12
* "key":"area", // the key to COPY the RESULT to (doesn't need 'model' prefix)
13
13
* "watch":["length","width"], // The KEYS to WATCH for changes
14
14
* "calculate":"model.length * model.width"
15
15
* }
16
+ * @example
17
+ * {
18
+ * "type":"calculate",
19
+ * "format":"number", // The format to coerce the response into, currently supports 'number' or no property defined
20
+ * "key":"area", // the key to COPY the RESULT to (doesn't need 'model' prefix)
21
+ * "watch":["length","width"], // The KEYS to WATCH for changes
22
+ * "calculate":"model.length * model.width",
23
+ * "lookup":"http://example.com/validate/{{calculated}}" // The response is copied to the key
24
+ * }
16
25
*/
17
26
angular
18
27
. module ( 'schemaForm' )
You can’t perform that action at this time.
0 commit comments