Skip to content

Commit

Permalink
Update Table
Browse files Browse the repository at this point in the history
  • Loading branch information
e1emeb0t authored and sam019 committed Oct 12, 2017
1 parent b375a72 commit 78af160
Show file tree
Hide file tree
Showing 27 changed files with 907 additions and 4,143 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-react",
"version": "1.2.7",
"version": "1.2.9",
"description": "Element UI for React",
"private": false,
"main": "dist/npm/es5/index.js",
Expand Down
11 changes: 5 additions & 6 deletions site/docs/en-US/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,23 +322,22 @@ render() {
| ----| ----| ----| ---- | ----- |
|type| Same as the `type` attribute of native input, except that it can be `textarea` | string || text |
|value| binding value | string/number|||
|maxlength| maximum Input text length| number|||
|minlength| minimum Input text length| number |||
|maxLength| maximum Input text length| number|||
|minLength| minimum Input text length| number |||
|placeholder| placeholder of Input| string |||
|disabled | whether Input is disabled | boolean || false |
|size | size of Input, works when `type` is not 'textarea' | string | large/small/mini ||
|icon | icon name | string |||
|rows | number of rows of textarea, only works when `type` is 'textarea' | number || 2 |
|autosize | whether textarea has an adaptive height, only works when `type` is 'textarea'. Can accept an object, e.g. { minRows: 2, maxRows: 6 } | boolean/object || false |
|auto-complete | same as `auto-complete` in native input | string | on/off | off |
|autoComplete | same as `auto-complete` in native input | string | on/off | off |
|name | same as `name` in native input | string |||
| readonly | same as `readonly` in native input | boolean || false |
| readOnly | same as `readonly` in native input | boolean || false |
|max | same as `max` in native input ||||
|min | same as `min` in native input ||||
|step| same as `step` in native input ||||
|resize| control the resizability | string | none, both, horizontal, vertical ||
|autofocus | same as `autofocus` in native input | boolean || false |
|form | same as `form` in native input | string |||
|autoFocus | same as `autofocus` in native input | boolean || false |
| onIconClick | hook function when clicking on the input icon | function |||

### Autocomplete Attributes
Expand Down
Loading

0 comments on commit 78af160

Please sign in to comment.