|
1 | 1 | var inputTypeInstance = ( |
2 | 2 | <form> |
3 | | - <Input type="text" defaultValue="text" /> |
4 | | - <Input type="password" defaultValue="secret" /> |
5 | | - <Input type="checkbox" checked readOnly label="checkbox"/> |
6 | | - <Input type="radio" checked readOnly label="radio"/> |
7 | | - <Input type="select" defaultValue="select"> |
| 3 | + <Input type="text" label='Text' defaultValue="Enter text" /> |
| 4 | + <Input type="email" label='Email Address' defaultValue="Enter email" /> |
| 5 | + <Input type="password" label='Password' defaultValue="secret" /> |
| 6 | + <Input type="file" label="File" help="[Optional] Block level help text" /> |
| 7 | + <Input type="checkbox" label="Checkbox" checked readOnly /> |
| 8 | + <Input type="radio" label="Radio" checked readOnly /> |
| 9 | + <Input type="select" label='Select' defaultValue="select"> |
8 | 10 | <option value="select">select</option> |
9 | 11 | <option value="other">...</option> |
10 | 12 | </Input> |
11 | | - <Input type="select" multiple> |
| 13 | + <Input type="select" label='Multiple Select' multiple> |
12 | 14 | <option value="select">select (multiple)</option> |
13 | 15 | <option value="other">...</option> |
14 | 16 | </Input> |
15 | | - <Input type="textarea" defaultValue="textarea" /> |
16 | | - <Input type="static" value="static" /> |
17 | | - <Input type="submit" bsStyle='primary' value="Submit button" /> |
| 17 | + <Input type="textarea" label='Text Area' defaultValue="textarea" /> |
| 18 | + <Input type="static" value="Static Text" /> |
| 19 | + <Input type="submit" value="Submit button" /> |
18 | 20 | </form> |
19 | 21 | ); |
20 | 22 |
|
|
0 commit comments