Commit Graph

267 Commits

Author SHA1 Message Date
sea
9bf586fe2d fix(components): [select] stop the click event propagation of header/footer slot (#16151)
fix(components): select slot click header/footer add stop
2024-03-17 11:12:27 +08:00
kooriookami
047180899f feat(components): [select & select-v2] support empty string dynamically (#15995)
* feat(components): [select & select-v2] support empty string dynamically

closed #15994

* feat(components): update

* feat(components): update test

* feat(components): update

* feat(components): update
2024-03-01 13:53:06 +08:00
kooriookami
d8a9f902b2 chore(components): clear deprecated API (#15922)
* chore(components): clear deprecated API

* docs: update
2024-02-28 12:42:17 +08:00
kooriookami
5cf6f775c6 perf(components): [select & select-v2] optimize performance (#15962)
closed #15932
2024-02-28 12:41:56 +08:00
赵添
f33979d228 feat(components): [select] & [select-v2] add fallbackPlacements prop (#15765) 2024-02-05 17:16:18 +08:00
赵添
4c5d8ce6ef fix(components): [select] el-option-group error when el-option in a component (#15703)
* fix(components): [select] el-option-group error when el-option in a comp

* test(components): [select] add a test
2024-01-31 10:40:05 +08:00
kooriookami
4b56cf68f6 fix(components): [select] Fix value with value-key not selected (#15681)
* fix(components): [select] Fix value with value-key not selected

* test(components): add test

* test(components): update
2024-01-30 09:40:49 +08:00
nigi
1f6537af4c fix(components): [select] Remote search does not show menu when it has options and no query (#15683)
* fix(components): [select] Remote search does not show menu

* fix(components): fix remote search menu issue without a query
2024-01-26 10:19:35 +08:00
wzc520pyfm
0d3ece03c8 fix(components): [select & select-v2] select can't delete input val (#15607)
closed #15604
2024-01-22 13:04:03 +08:00
kooriookami
feb169fe93 feat(components): [select & select-v2] Add loading slot (#15540)
* feat(components): [select & select-v2] Add loading slot

* feat(components): update
2024-01-18 12:23:41 +08:00
kooriookami
f8f9620bdb fix(components): [select] Fix input key event (#15544)
closed #15536
2024-01-17 10:30:15 +08:00
wzc520pyfm
b5b160d7e0 test(components): [select] adjust case for refactored select (#15551) 2024-01-16 22:29:08 +08:00
赵添
a01b05d39c fix(components): [select] style break change in multiple collapseTags (#15460)
* fix(components): [select] style break change in multiple collapseTags

* fix(components): [select-v2] style break change in multiple collapseTags

* fix(components): [select & select-v2] popover updated
2024-01-15 15:43:17 +08:00
kooriookami
1afb276ddd fix(components): [select select-v2] fix input click event (#15462)
* fix(components): [select] fix input click event

* fix(components): update
2024-01-12 16:04:53 +08:00
xiaoming
479c25b5fa perf(components): [select & selectV2] hide collapse-tags-tooltip when dropdown (#15478)
perf(components): [select & selectV2] hide tags-tooltip when dropdown
2024-01-12 15:57:41 +08:00
xiaoming
b954b033f9 fix(components): [select] exposes blur invalid (#15450) 2024-01-11 14:45:43 +08:00
kooriookami
e7c1b53da3 fix(components): [select] Fix value bind object and trigger twice in form label (#15449)
* fix(components): [select] Fix value bind object

* fix(components): update

* fix(components): update
2024-01-11 14:45:23 +08:00
xiaoming
018f22f36c fix(components): [select] remove redundant named slots (#15441)
* fix(components): [select] remove redundant named slots

* chore: update
2024-01-11 14:37:20 +08:00
kooriookami
5844947198 refactor(components): [select & select-v2] Refactor components (#15352)
* refactor(components): [select&select-v2] refactor components

* refactor(components): [select-v2]

* refactor(components): update

* refactor(components): update

* refactor(components): [select-v2]

update

* refactor(components): update

* refactor(components): update

* refactor(components): update type

* refactor(components): update

* refactor(components): update

* refactor(components): update style

* refactor(components): update docs

* refactor(components): update

* refactor(components): fix #15323

* refactor(theme-chalk): update

* refactor(components): update

* refactor(components): update

* refactor(components): update

* refactor(components): fix bugs

* fix(components): fix issue

* fix(components): update

* fix(components): fix some bug

* feat(components): update

* feat(components): add tag slot

* feat(components): update

* fix(components): update

* style(theme-chalk): update style

* fix(theme-chalk): update

* feat(theme-chalk): update

* fix(components): update

* feat: update

* feat: update

* feat: update

* feat(components): update
2024-01-10 11:14:58 +08:00
Cheerwhy
f37d056441 feat(components): [select] add header and footer slot (#14876)
* feat(components): [select] add header and footer slot

* fix(docs): [select] incorrect word

* fix(theme-chalk): [select-dropdown] incorrect padding

* Update docs/en-US/component/select.md

Co-authored-by: btea <2356281422@qq.com>

* Apply suggestions from code review

Co-authored-by: btea <2356281422@qq.com>

---------

Co-authored-by: qinzz <qinzz@chint.com>
Co-authored-by: btea <2356281422@qq.com>
2023-11-27 15:26:48 +08:00
Fuphoenixes
4580aea8e4 fix(components): [select] style error in multiple collapseTags (#14602) 2023-11-11 21:27:35 +08:00
qiang
808d7a6235 fix(components): [select] input height calculation error (#14565)
closed #14561
2023-10-18 12:27:40 +08:00
qiang
ca8846c532 feat(components): [select] accessibility enhancement (#14503)
* feat: accessibility enhancement

* fix: adjusting the attributes of Scrollbar

* Update docs/en-US/component/scrollbar.md

Co-authored-by: btea <2356281422@qq.com>

* docs: updata

* fix(components): [select] aria-selected error

---------

Co-authored-by: btea <2356281422@qq.com>
2023-10-12 09:29:00 -05:00
kamesan012
cae9ef17b8 fix(components): inline style doesn't use the custom sass setting value (#14117)
* fix(components): inline style doesn't use the custom sass setting value

closed #14038

* Update packages/components/select/src/useSelect.ts

Co-authored-by: btea <2356281422@qq.com>

* fix(components): update codes

* fix(components): use ns.cssVarName('input-height')

---------

Co-authored-by: btea <2356281422@qq.com>
2023-10-11 19:14:38 -05:00
btea
685c396524 refactor(components): [select] use utils function (#14345) 2023-09-27 09:08:13 +08:00
wzc520pyfm
6cc5892672 fix(components): [select] fix hover index error when creating option (#12635)
* fix(components): [select] fix error when creating option

closed #12634

* test(components): [select] add test for create and default first option

* fix(components): [select] compatible #11297
2023-08-31 11:22:01 +08:00
sseinHu
e5ebf80bf5 fix(components): [select] gurad value type error (#14074)
fix(components): [useSelect.ts] selected.slice is not a function

select In the case of radio, the packaged code will report select. slice is not a function, because the radio selected is an object, and the object does not have the api of slice
2023-08-28 09:31:22 +08:00
Karolis_Stoncius_Sneakybox
c29f6cc6c7 feat(components): [select] add aria-label to select's input (#13932)
* feat(components): [select] add aria-label to select's input

Select's input causes accessibility issues without aria-label, this commit adds it

* refactor(components): [select] change aria-label to label; update docs

* refactor(components): [select] change back to ariaLabel prop name

* docs(components): kebab-case for docs
2023-08-24 21:03:01 +08:00
inottn
1211312491 fix(components): [select] fix the logic of updating selected data (#13374)
* fix(components): [select] fix the logic of updating selected data

* chore: improve judgment condition
2023-08-23 21:00:31 +08:00
wzc520pyfm
37f40dc9cc docs(components): [select] use new display tag (#13301)
* docs(components): [select] use new display tag

* docs(components): [select] description and comment begins in lower case

* docs(components): [select] update type of prop and event
2023-08-21 21:08:24 +08:00
井柏然
067028ba3c fix(components): [select] backspace delete disabled option (#11995)
* fix(components): [select] backspace delete disabled option

* fix(components): [select] findLastIndex

* fix(components): [select] simple polyfill findLastIndex in test file

* fix(components): [select] add test for backspace

* chore: lint
2023-08-13 21:41:13 +08:00
cc-hearts
74e237ce5c fix(components): [select] fix set value error(#13872) (#13879) 2023-08-10 11:43:17 +08:00
init-qy
fe10f7edc0 fix(components): [select] clearIcon did not work with form statusIcon (#13533)
* fix(components): [select] clearIcon not effect with form statusIcon

* fix(components): [select] add computed value

* fix(components): [select] add comment message

* fix(components): [select] add missing import

* refactor: [select] place selectTagsStyle in useSelect

* fix: [select] remove unused export

* fix: compress code

* fix: fix error
2023-08-04 13:19:27 +08:00
qiang
0109ab6195 fix(components): [select] abnormal focus when click tags (#13699)
* fix(components): [select] abnormal focus when click tags

closed #13665

* fix(components): [select] clearable

* chore(components): [select] remove console

* fix: the setTimeout function may bring some side effects

* fix: remove role

* test(components): [select] add some test
2023-08-03 20:15:57 +08:00
xiaoming
05caa04966 fix(components): [select] fix for confusing click behaviour (#13664)
fix(components): [select] fix for confusing click behaviour (#13642)
2023-07-22 17:02:45 +08:00
xiaoming
4d141a2220 fix(style): [select] tooltip positioning is incorrect (#13424)
fix(style): [select] tooltip positioning is incorrect (#13251 #13422)
2023-07-02 17:30:29 +08:00
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