Commit Graph

131 Commits

Author SHA1 Message Date
wzc520pyfm
4e9fc0854c refactor(components): [select] override the class using computed (#13302)
* refactor(components): [select] override the class using computed

* refactor(components): [select] shorthand class object
2023-06-26 17:55:23 +08:00
Xc
40f70da95c fix(components): [select] filter shake (#12106)
* fix(components): [select] filter shake

* fix(components): [select] filter shake

* fix(components): [select] filter shake

* fix(components): [select] filter shake

* fix(components): [select] remove tagInMultiLine
2023-06-16 08:01:12 +08:00
qiang
a99dbb3954 fix(components): [select] optimize the triggering of blur event (#11524)
* fix(components): [select] drop-down selection is not closed when blur

closed #10893, #10992

* fix(components): [select] optimize the triggering of blur event

* refactor(components): [select] optimize code
2023-05-28 17:31:25 +08:00
sleepyShen1989
44376fa0c7 fix(components): [select] fix placeholder display (#11051)
closed # 11049
2023-05-13 12:55:35 +08:00
acyza
4c93b47a05 fix(components): [select] correct update selectSize (#11973)
* chore: 尝试恢复pr

* chore: update

* chore: update
2023-04-23 15:12:46 +08:00
btea
105d79b0d9 refactor: extract isClient and isNumber isBoolean (#12504)
* refactor: extract isClient and isNumber isBoolean

* test: update test

* refactor: extract isClient to browser
2023-04-20 20:00:49 +08:00
井柏然
4ee6dfe7ab fix(components): [select] delete key should not choose tag (#12200)
fix(components): [select] delete key choose tag
2023-04-14 01:19:42 +08:00
井柏然
d13c3d83e8 fix(components): [select] multiple disabled style (#12015)
* fix(components): [select] multiple disabled style

* fix(components): [select] multiple disabled not-allowd
2023-03-24 09:36:46 +08:00
井柏然
c89cc2d3df fix(components): [select] iOS keyboard not appear when focus (#11498)
* fix(components): [select] ios keyboard not appear when focus
2023-03-13 22:52:10 +08:00
kooriookami
4ea9fb344f feat(components): [select] Add max-collapse-tags prop (#11378)
* feat(components): [select] Add max-collapse-tags prop

closed #7429

* feat(components): [select]

* feat(components): update

* feat: update

* feat: update

* feat: update
2023-03-10 07:18:21 +00:00
Jeremy
8674619a2d test(components): add tests for select options (#11957)
* test(components): [select] options

* test(components): [select] options component

* Add test for the newly added options component
2023-03-10 14:59:03 +08:00
Travis
6a977d3df1 fix(components): [select] filter all ElOption item labels (#11909)
* fix(components): [select] filter all ElOption item labels

Include children of ElOptionGroup

closed #11903

* refactor(components): [select] use isFunction instead
2023-03-08 15:06:44 +00:00
Travis
8d752c74b9 fix(components): [select] Filter duplicate emits of "update options" (#11884)
* fix(components): [select] Filter duplicate emits of "update options"

* perf(components): [select] Code standardization
2023-03-08 07:13:15 +00:00
Jeremy
5ca063628a fix(components): [select] console warning (#11868)
* fix(components): [select] console warning

* Move rendering related logic into render functions.

* chore: fix warnings

* fix: keyboard navigation issue
2023-03-07 20:00:55 +08:00
Jeremy
c2710d97d0 fix(components): [global-config] (#11847)
* fix(components): [loading]

* Remove inappropriate way of using injection in directives.

* chore: rewrite implementation

* fix(components): [global-config]

* Fix global config injection in global components.

* chore: fix format

* chore: remove .only modifier

* chore: fix failing tests
2023-03-06 23:20:21 +08:00
井柏然
2f5629a2f8 fix(components): [select] support custom height (#10840) (#10847)
* fix(components): [select] support custom height (#10840)

fix(components): [select] support custom height (#10840)

* fix(components): [select] support custom height (#10840)
2023-02-27 22:05:14 +08:00
류한경
8de2c9c450 fix(components): [select] add popper-options prop (#11734) 2023-02-27 19:20:18 +09:00
Jeremy
11925c8231 refactor(tokens) - [form] (#11743)
* refactor(tokens): [form] - remove tokens/form

* Move content in tokens/form to components/form.
* Replace token imports in components/form.

* chore: remove form/tokens and replace imports

* refactor(components): [form/form-item]

* Move `useForm` related hooks to components/form
* Replace references to reduce circular dependencies.
2023-02-27 13:19:20 +08:00
btea
842fb2b286 fix(components): [select] fix the hoverIndex display error (#11297)
* fix(components): [select] fix the hoverIndex display error

* fix: update useSelect
2023-02-25 16:43:40 +08:00
wonderl17
af9302c887 fix(components): [select] i18n issue of select placeholder (#11508) 2023-02-13 23:06:57 +08:00
Jacob Alspaw
7b64807ff2 fix(components): [select] ensure select options respect filter query during initialization (#11205)
* fix(components): [select] ensure select options respect query immediately during initialization

When the select option is created, the option does not immediately calculate its `visible` state attribute. This can result in the visible select options being out of sync with the filter text. If the options are loaded asynchronously and a user is quick to enter filter text, then the options will show regardless of the filter value once they have completed loading. Fix this by updating the `visible` attribute immediately.

* fix: lint

---------

Co-authored-by: zz <2418184580@qq.com>
2023-02-12 20:39:11 +08:00
dopamine
6799618f79 fix(components): [select] recalculate input height when display change (#11374)
* fix(components): [select] recalculate input height when display change

* fix
2023-02-05 14:00:34 +08:00
Naeemo
702c71b352 refactor(tokens): use Symbol as injection key (#11251) 2023-02-05 13:10:33 +08:00
zz
73a9010e37 fix(components): [select] display tags correctly (#11149)
* fix(components): [select] display tags correctly

* fix: test cases
2023-01-10 22:38:44 +08:00
qiang
b456125431 fix(components): [tooltip] SSR hydration error caused by random ID (#10541) 2022-11-21 14:10:52 +08:00
btea
874aa0a284 refactor(components): [select] use util function (#10286) 2022-10-27 21:41:27 +08:00
btea
6d839aeb96 fix(components): [select] blur trigger remote event should pass string (#10218) 2022-10-26 16:39:05 +08:00
Giwayume
8f1285f880 fix(components): [time-picker] fix popup not showing (#9941)
* fix(components): [time-picker] fix popup not showing

* fix(components): [focus-trap] track last active element automatically

* fix(components): linting

* fix(components): add preventDefault to focusout-prevented

* fix(components): sSR and typecheck

* fix(components): focus trap attach document events in mount

* fix(components): remove document undefined check

* fix(components): [select] fix click scrollbar closes popup

* fix(components): allow focus-trap to refocus after pick

Co-authored-by: OpenGraphica <opengraphica@gmail.com>
2022-10-13 14:42:27 +08:00
Xc
817ec60b71 feat(components): [select] Simplified API (#9994) 2022-10-09 16:04:11 +08:00
Xc
91f1c63e6a fix(components): [select] click label only focus in form (#9798) 2022-09-30 14:35:09 +00:00
Circkoooooo
6f90007f77 fix(components): [select] excute filter/remoteMethod when blur (#9587)
* fix(components): [select] excute filter/remoteMethod when blur event

when select component trigger blur event, it need excute the filterMethod or remoteMethod,
otherwise, the next time you click select, you may filter the result to the previous one.

* fix(components): [select] excute filter/remoteMethod when blur event

* fix(components): [select] excute filter/remoteMethod when blur event

when select component trigger blur event, it need excute the filterMethod or remoteMethod,
otherwise, the next time you click select, you may filter the result to the previous one.

* fix(components): [select] excute filter/remoteMethod when blur event

Co-authored-by: qiang <qw13131wang@gmail.com>
2022-09-23 14:21:23 +08:00
init-qy
c64ea617ef fix(components): [select] fix option-group get wrong visible (#9726)
* fix(components): [select] fix option-group get wrong visible

* fix(components): [select] fix option-group get wrong visible

* fix(components): [select] fix option-group get wrong visible

Co-authored-by: qinye <953218204@qq.com>
2022-09-10 22:07:06 +08:00
Chen_Z
838001aadd fix(components): [select] fix select hover flicker (#9521)
* fix(components): [select] fix select hover flicker

closed #9500

* fix(components): [select] fix select hover flicker

closed #9500
2022-09-09 12:35:36 +08:00
Xc
e8817aae06 feat(components): [select] enhanced suffix (#9619)
* feat(components): [select] enhanced suffix

* docs: remove useless characters

* docs(components): [select] add remote suffix demo
2022-09-06 23:12:52 +08:00
Xc
dee98ed32a fix(components): [select] keep hover after clearing (#9644) 2022-09-06 12:19:52 +08:00
LIUCHAO
328cb574ae fix(components): [select] fix content overflow (#9633)
closed #9560
2022-09-05 22:29:45 +08:00
Xc
2a1cdbd8eb feat(components): [select] add placement (#9621) 2022-09-04 19:25:01 +08:00
Xc
262bb786c8 docs(components): adjust the type of focus event (#9620) 2022-09-04 17:07:19 +08:00
LIUCHAO
8532dbec11 fix(components): [select] fix typo (#9578) 2022-09-01 14:53:32 +08:00
bqy_fe
7160a5a0e1 fix(components): [select] support dynamic value for option (#9220) 2022-08-31 13:56:04 +08:00
LIUCHAO
6e3774f94c fix(components): [select] update finished calculating optionsInDropdown (#9475)
closed #7507
2022-08-31 13:35:36 +08:00
Xc
92d0f9404b fix(components): [select] option value is object (#9287)
* fix(components): [select] option value is object

* fix(components): [select] option value is object
2022-08-18 23:49:40 +08:00
zz
1f89174ddd fix(components): [select] injected form context may be undefined (#8860) 2022-08-05 21:00:31 +08:00
qiang
8387f6dac6 fix(components): [select] sync the tooltip component change (#8998)
closed #8989, #8994
2022-07-26 09:05:49 +08:00
白雾三语
5f041f47a8 fix: [select] label can be displayed correctly after selecting operation (#8589)
* fix: [select] label can be displayed correctly after selecting operation

* fix: [select] label can be displayed correctly after selecting operation

* fix: [select] modify unit test

* fix: [select] modify unit test
2022-07-20 20:47:34 +08:00
gjfei
c2ca7cd16a fix(components): [select] fix select tooltip zIndex (#8768)
* fix(components): [select] fix select tooltip zIndex (#8753)

* fix(components): [select] fix select test

* fix(components): [select] fix select
2022-07-14 23:21:38 +08:00
Xc
2680d67523 fix(components): [select] automatic-dropdown next focus invalid (#8398) 2022-07-10 18:04:31 +08:00
Hefty
72d0bc2177 fix(components): add validate-event for form types component (#8173)
* fix(components): add validate-event for form types component

* chore: format code
2022-07-02 21:01:05 +08:00
Cheerwhy
4abd29c597 fix(components): [select] fix select dropdown width (#8396) (#8435) 2022-06-24 21:26:10 +08:00
Xc
2b71f2c561 fix(components): [select] multiple init height (#8423) 2022-06-23 01:34:05 +08:00