Commit Graph

70 Commits

Author SHA1 Message Date
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
井柏然
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
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
井柏然
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
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
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
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
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
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
Xc
262bb786c8 docs(components): adjust the type of focus event (#9620) 2022-09-04 17:07:19 +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
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
Xc
2b71f2c561 fix(components): [select] multiple init height (#8423) 2022-06-23 01:34:05 +08:00
三咲智子
7097940f4a refactor: add ts-nocheck and check all files (#8401) 2022-06-22 08:04:42 +08:00
Xc
4339802fed fix(components): [select] input height is 2px more (#7958)
* fix(components): [select]  input height is 2px more

* fix(components): [select] inner input height

* fix(components): [select] inner input height
2022-05-31 23:41:36 +08:00
opengraphica
e1b88263e3 feat(components): [popper] focus trap and a11y (#7736)
* feat(components): [popper] fix focus traps

* feat(components): [popper] add focus trap tests

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-05-20 18:13:27 +08:00
Xc
334117c2cb fix(components): [select] The problem that the size changes and the height does not change (#7471)
* fix: select size height change

* fix: add select size test

* fix: del unuse
2022-05-05 09:49:07 +08:00
Herb Brewer
1700cdc05e fix(components): [select]label is not shown when value is a object (#7054) 2022-05-03 00:01:08 +08:00
三咲智子
9de79794a3 refactor(utils): move function (#7336) 2022-04-23 21:59:17 +08:00
Zhongxiang Wang
8307d109fd refactor(components): [input] change to flex layout (#7179)
* Revert "fix(components): [input] improved when both `suffix` and `prefix` are displayed (#7001)"

This reverts commit 793ca8ae29.

* refactor(components): [input] change to flex layout
2022-04-18 23:18:13 +08:00
bqy_fe
2f38edd715 fix(components): [select] inner input height is inconsistent with select (#6979)
* fix(components): [select] inner input height is inconsistent with select

* Update packages/constants/size.ts

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-10 14:48:01 +08:00
btea
2e85acbf9e fix(components): [select] value support object (#6933)
* fix(components): [select] value support object

* Update packages/components/select/src/select.vue

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>

Co-authored-by: JeremyWuuuuu <15975785+JeremyWuuuuu@users.noreply.github.com>
2022-04-01 14:35:36 +08:00
三咲智子
184facdb4c chore: add eslint rule sort imports (#6823) 2022-03-25 15:35:56 +08:00
Muyao
7b61eba9f3 fix(components): [el-select] reset selectedLabel when toggle multiple (#6769)
fix #6766
2022-03-24 15:19:44 +08:00
gjfei
3cc4867f7a fix(components): el-select-allow-dynamically-update-options (#6473)
* fix(components):[select] (#6458)

* fix(components): [select] allow create

* fix(components): [select] allow create code review
2022-03-10 15:50:46 +08:00
gjfei
593082ec65 fix(components):[select] namespace (#6486) 2022-03-10 15:39:42 +08:00
gjfei
68127aa442 fix(components):[select] (#6446) (#6474) 2022-03-08 14:09:37 +08:00
三咲智子
b8c38a9fe5 chore: enhance eslint rules (#6476)
* chore: enhance eslint rules

* chore: enhance eslint rules
2022-03-08 14:03:32 +08:00
三咲智子
c72679e4e9 refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
Alan Wang
a4679050ea fix(components): [select] click icon not respond (#6441) 2022-03-06 18:00:00 +08:00
jeremywu
1429a4e669 fix(components): [el-select] tag default theme (#5983)
- Fix the default theme for select tag
- Fix the input padding for inputable select
2022-02-11 19:55:34 +08:00
zeting
fc8291114e fix(components): fix [el-select] infinite bounce (#5977)
修复了select组件  filterable 和multiple 属性激活是  当失去焦点后再次激活焦点会无限抖动的问题,并修复异常样式

# 5905

Co-authored-by: 袁泽庭 <chongyun@boomlink.com>
2022-02-11 18:18:39 +08:00
jeremywu
04df2a483a fix(utils): restore scrollIntoView method (#5973) 2022-02-11 18:07:59 +08:00
三咲智子
590538cd38 test: fix scrollIntoView (#5960) 2022-02-11 12:35:26 +08:00
三咲智子
6503e55277 refactor(utils): migrate utils (#5949)
* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils-v2): migrate utils

* refactor(utils): remove

* refactor(utils): rename

* refactor(utils): move EVENT_CODE to constants

* refactor: remove generic
2022-02-11 11:03:15 +08:00
JacBiank
e901c58c63 fix(components): [el-select] (#5952) 2022-02-11 10:28:18 +08:00