[Improvement] Field: support autosize maxHeight & minHeight (#718)

This commit is contained in:
neverland
2018-03-19 11:06:46 +08:00
committed by GitHub
parent 4ae26ac8be
commit 326b2d4c51
5 changed files with 69 additions and 25 deletions

View File

@@ -99,7 +99,7 @@ Filed support all native properties of input tagsuch as `maxlength`、`placeh
| disabled | Disable field | `Boolean` | `false` | - |
| error | Whether to show error info | `Boolean` | `false` | - |
| error-message | Error message | `String` | `''` | - |
| autosize | Textarea auto resize | `Boolean` | `false` | - |
| autosize | Textarea auto resizecan accpet an object, e.g. { maxHeight: 100, minHeight: 50 } | `Boolean | Object` | `false` | - |
| icon | Right side Icon name | `String` | - | - |
### Event