Commit 897ec465 authored by 杨奕's avatar 杨奕 Committed by Leopoldthecoder

Select: add focus listener (#1193)

parent deaee6ce
...@@ -1068,7 +1068,7 @@ Customize table column so it can be integrated with other components. ...@@ -1068,7 +1068,7 @@ Customize table column so it can be integrated with other components.
| Attribute | Description | Type | Accepted Values | Default | | Attribute | Description | Type | Accepted Values | Default |
|---------- |-------------- |---------- |-------------------------------- |-------- | |---------- |-------------- |---------- |-------------------------------- |-------- |
| data | table data | array | — | — | | data | table data | array | — | — |
| height | table's height. By default | string/number | — | — | | height | Table's height. By default it has an auto height. If its value is a number, the height is measured in pixels; if its value is a string, the height is affected by external styles | string/number | — | — |
| stripe | whether table is striped | boolean | — | false | | stripe | whether table is striped | boolean | — | false |
| border | whether table has vertical border | boolean | — | false | | border | whether table has vertical border | boolean | — | false |
| fit | whether width of column automatically fits its container | boolean | — | true | | fit | whether width of column automatically fits its container | boolean | — | true |
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
:name="name" :name="name"
:disabled="disabled" :disabled="disabled"
:readonly="!filterable || multiple" :readonly="!filterable || multiple"
@click.native="toggleMenu" @focus="toggleMenu"
@keyup.native="debouncedOnInputChange" @keyup.native="debouncedOnInputChange"
@keydown.native.down.prevent="navigateOptions('next')" @keydown.native.down.prevent="navigateOptions('next')"
@keydown.native.up.prevent="navigateOptions('prev')" @keydown.native.up.prevent="navigateOptions('prev')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment