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.
`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`
105
+
>`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`
98
106
99
107
###### Default
100
-
`undefined`
108
+
>`undefined`
101
109
102
110
---
103
111
##### key (string)
104
-
By default form results are keyed by location in the form array, you can override this by specifying a `key`.
112
+
>By default form results are keyed by location in the form array, you can override this by specifying a `key`.
105
113
106
114
###### Default
107
-
`undefined`
115
+
>`undefined`
108
116
109
117
---
110
118
##### label (string)
111
-
`label` is used to add an html label to each field.
119
+
>`label` is used to add an html label to each field.
112
120
113
121
###### Default
114
-
A default is set for each field based on its type. ie `Text`, `Checkbox`, `Password`
122
+
>A default is set for each field based on its type. ie `Text`, `Checkbox`, `Password`
115
123
116
124
---
117
125
##### required (boolean)
118
-
`required` is used to add the required attribute to a form field.
126
+
>`required` is used to add the required attribute to a form field.
119
127
120
128
###### Default
121
-
`undefined`
129
+
>`undefined`
122
130
123
131
---
124
132
##### disabled (boolean)
125
-
`disabled` is used to add the disabled attribute to a form field.
133
+
>`disabled` is used to add the disabled attribute to a form field.
126
134
127
135
###### Default
128
-
`undefined`
136
+
>`undefined`
129
137
130
138
---
131
139
##### placeholder (string)
132
-
`placeholder` is used to add placeholder text to some inputs.
140
+
>`placeholder` is used to add placeholder text to some inputs.
133
141
134
142
###### Default
135
-
`undefined`
143
+
>`undefined`
136
144
137
145
### Form Fields
138
146
#### Text form field
139
-
The text field allows single line input with a input element set to `type='text'`. It doesn't have any custom properties.
147
+
>The text field allows single line input with a input element set to `type='text'`. It doesn't have any custom properties.
140
148
##### default (string)
141
149
142
150
_Example text field_
@@ -154,7 +162,7 @@ _Example text field_
154
162
The textarea field creates multiline input with a textarea element.
155
163
##### default (string)
156
164
##### lines (number)
157
-
`lines` sets the rows attribute for the textarea element.
165
+
>`lines` sets the rows attribute for the textarea element.
0 commit comments