Skip to content

Commit 86257d1

Browse files
committed
updated readme
1 parent b13c297 commit 86257d1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Note that this is still a work in progress so some fields are under construction
5656

5757
###Global options
5858
These options are used by all the different field types. Some fields may have special options and these will be specified below.
59+
5960
| Property | Type | Default | Description |
6061
| --- | --- | --- | --- |
6162
| $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. |
@@ -70,12 +71,16 @@ These options are used by all the different field types. Some fields may have sp
7071
| classes | `object` | `null` | Pass an object of classes to be added to the element. Follows the Vue bindings where each key matches a boolean value. eg `{ 'class-a': true, 'class-b': false }` In this case class-a will be attached. |
7172
| id | `string` | `null` | An ID string to attach to the element |
7273

74+
7375
###Input options
76+
7477
| Property | Type | Default | Description |
7578
| --- | --- | --- | --- |
7679
| inputType | `string` | `text` | The 'type' attribute to pass to the input. |
7780

81+
7882
###Select options
83+
7984
| Property | Type | Default | Description |
8085
| --- | --- | --- | --- |
8186
| 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

Comments
 (0)