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
If you include the script it will be installed for you.
52
54
53
-
Note that this is still a work in progress so some fields are under construction. See the To Do section for what's on the watchlist.
55
+
For more advanced details about how to use Vue Formly check out the [docs](https://www.gitbook.com/book/matt-sanders/vue-formly/details).
56
+
57
+
Note that this is still a work in progress so some fields are under construction. See the [To Do](#to-do) section for what's on the watchlist.
54
58
55
59
##Options
56
60
@@ -61,6 +65,7 @@ These options are used by all the different field types. Some fields may have sp
61
65
| --- | --- | --- | --- |
62
66
| $dirty |`boolean`|`false`|***RESTRICTED*** This is set by the system and is just there for your reference. It gets set to `true` upon blur or change, whichever happens first. |
63
67
| $active |`boolean`|`false`|***RESTRICTED*** Also set by the system and is set to true on focus. |
68
+
| type | `string` | `null` | ***REQUIRED*** this is the input type. Check the [Available Inputs](#available-inputs) section for a list of currently available inputs.
64
69
| onBlur |`function(e)`|`null`| A function to run on @blur event |
65
70
| onFocus |`function(e)`|`null`| A function to run on @focus event |
66
71
| onClick |`function(e)`|`null`| A function to run on @click event |
@@ -85,6 +90,13 @@ These options are used by all the different field types. Some fields may have sp
85
90
| --- | --- | --- | --- |
86
91
| options |`array`|`null`| Pass either an array of strings or objects. Objects require a `label` and `value` property. If a string is passed then it will be used for the value and the label. eg: `options: ['Foo', 'Bar']` or `options: [{ label: 'Foo', value: 'bar'},{label: 'Bar', value: 'foo'}]|
0 commit comments