You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,10 +92,10 @@ Forms can be customized with the options below.
92
92
>`submitCopy` customizes the submit button copy. Defaults to 'Submit'.
93
93
94
94
### Creating Form Fields
95
-
When constructing fields use the options below to customize each field object. You must set at least a `type` or `templateUrl`.
95
+
When constructing fields use the options below to customize each field object. You must set at least a `type`, `template`, or `templateUrl`.
96
96
97
97
##### type (string)
98
-
>`type` is the type of field to be rendered. Either type or templateUrl must be set.
98
+
>`type` is the type of field to be rendered. Either type, template, or templateUrl must be set.
99
99
100
100
###### Default
101
101
>`null`
@@ -113,14 +113,14 @@ When constructing fields use the options below to customize each field object. Y
113
113
114
114
---
115
115
##### template (string)
116
-
>`template` can be set instead of `type` to use a custom html template form field. Should be used with one-liners mostly (like a directive). Useful for adding functionality to fields.
116
+
>`template` can be set instead of `type`or `templateUrl`to use a custom html template form field. Should be used with one-liners mostly (like a directive). Useful for adding functionality to fields.
117
117
118
118
###### Default
119
119
>`undefined`
120
120
121
121
---
122
122
##### templateUrl (string)
123
-
>`templateUrl` can be set instead of `type` to use a custom html template form field. Set a path relative to the root of the application. ie `directives/custom-field.html`
123
+
>`templateUrl` can be set instead of `type`or `template`to use a custom html template form field. Set a path relative to the root of the application. ie `directives/custom-field.html`
0 commit comments