Commit graph

149 commits

Author SHA1 Message Date
Sergio Crisostomo
c741fa2ff1 Use label as query 2018-06-15 11:10:11 +02:00
m430
1d680640f7 fixed the multiple cannot be force set the query value. 2018-06-07 15:17:06 +08:00
郑敏
4403f97d44 fixed when selector is multiple mode error. 2018-06-07 14:57:22 +08:00
郑敏
78824cc259 fixed #3817 that the default value does't display bug. 2018-06-07 14:06:30 +08:00
郑敏
fdc71ffe95 reset the focus index setting. 2018-06-07 10:07:34 +08:00
郑敏
21f6940672 fixed #3817 #3836 2018-06-07 09:58:13 +08:00
郑敏
73b01ee06b fixed #3722 that check expected value status 2018-06-05 14:32:19 +08:00
郑敏
9ccd81961b fixed #3722 2018-06-05 14:00:16 +08:00
郑敏
0fb9d6453a fix bug #3795 2018-06-03 23:18:29 +08:00
Aresn
51a0842d9f
Merge pull request #3766 from Xotic750/Update-v-click-outside-x
Update v-click-outside-x and use project wide directive
2018-05-31 09:25:28 +08:00
Graham Fairweather
26369639b6 Update v-click-outside-x and use project wide directive 2018-05-30 15:29:46 +02:00
Sergio Crisostomo
f8620d9ad8 Fix autocomplete opening/closing 2018-05-30 12:14:22 +02:00
Sergio Crisostomo
d20b4e1a73 detect touched so touch devices can also be selected 2018-05-29 15:06:50 +02:00
Sergio Crisostomo
5c846d28a6 Correct event propagation on transfer (fixes 3708 and 3695) 2018-05-29 14:10:07 +02:00
Sergio Crisostomo
743f6e0639 Be more hard on the reset 2018-05-29 12:41:26 +02:00
Sergio Crisostomo
1b39f56967 Use label first if available 2018-05-29 08:41:07 +02:00
Aresn
801a9c9d6d
Merge pull request #3739 from SergioCrisostomo/select-patches
Select improvements for edge cases
2018-05-29 09:45:54 +08:00
Sergio Crisostomo
9366c9a772 Select improvements for edge cases 2018-05-28 14:54:26 +02:00
luffyzhao
31e4380d96 还是要保留multiple判断 2018-05-25 14:01:53 +08:00
luffyzhao
583e23a43c 修复 'multiple' is assigned a value but never used no-unused-vars 2018-05-25 13:57:09 +08:00
luffyzhao
4107d6c4a5 修改select默认value为0不能选定的Bug 2018-05-25 13:45:16 +08:00
luffyzhao
c32a7412e8 select-binding-0 2018-05-25 11:59:36 +08:00
luffyzhao
861fe324b4 select-binding-0 2018-05-25 11:59:03 +08:00
luffyzhao
b4138675d4 select-binding-0 2018-05-25 11:37:15 +08:00
Graham Fairweather
4a9974f631 Normalise v-ckick-outside-x for Select 2018-05-22 07:33:43 +02:00
Aresn
997f2609f8
Merge pull request #3668 from Xotic750/fix_transpiled_module
Fix: Webpack is not configured to handle transpiling raw module, use …
2018-05-22 11:09:19 +08:00
梁灏
66f807edfb update Select
up / down key prevent scroll page
2018-05-22 10:42:59 +08:00
Aresn
d322bd7d08
Merge pull request #3663 from SergioCrisostomo/refactor-select
Allow wider search pattern for filterable
2018-05-22 10:41:53 +08:00
Graham Fairweather
8624560f9a Fix: Webpack is not configured to handle transpiling raw module, use pre-transpiled
This was breaking ie <= 11

https://github.com/iview/iview/issues/3325
2018-05-21 14:47:12 +02:00
梁灏
354254b414 change popper.js default options 2018-05-21 17:20:01 +08:00
Sergio Crisostomo
db5110c26a Allow wider search pattern for filterable 2018-05-21 10:49:54 +02:00
Sergio Crisostomo
5266c9054b Trim label so we can compare and use label better 2018-05-11 10:52:58 +02:00
Sergio Crisostomo
52cfcd662b Keep last selected option index 2018-05-11 10:52:25 +02:00
Sergio Crisostomo
1376a01a72 Emit on-open-change events 2018-05-11 10:52:16 +02:00
Sergio Crisostomo
c3304bce34 correct unchangedQuery and queryStringMatchesSelectedOption logic and 2018-05-11 08:45:14 +02:00
Sergio Crisostomo
31788df30b Normalise behaviour when opening select with selected option present in options 2018-05-08 14:23:49 +02:00
Sergio Crisostomo
7dbde804d8 add on-clear event 2018-05-08 14:03:12 +02:00
Aresn
d4f39edc35
Merge pull request #3576 from SergioCrisostomo/refactor-select
Select related fixes
2018-05-08 18:28:29 +08:00
Sergio Crisostomo
7e3fc4a522 close the menu if no option is focused on Enter 2018-05-08 11:38:04 +02:00
Sergio Crisostomo
16fc63614f stop propagation on ESC key 2018-05-08 11:34:15 +02:00
Sergio Crisostomo
220161f5ed Clean up empty/null entries 2018-05-08 11:15:49 +02:00
梁灏
8c82b6f27b update Select 2018-05-04 11:00:15 +08:00
Sergio Crisostomo
7d14e70c6e Include both node and componentOptions children in lookup 2018-05-03 11:36:34 +02:00
Sergio Crisostomo
aa21cdf9c3 Process also shallow children and not only nested 2018-05-03 09:51:57 +02:00
Sergio Crisostomo
523e2c81fd correct match logic for i-option and Option 2018-05-03 07:03:46 +02:00
Aresn
88ef37f5bb
fixed in multiple type, wrong position of popper
fixed in multiple type, when select some options, the position of popper not recalculation, so the position is wrong. By the way, it resolve the problem: when select one option, scroll page, throw many errors of popper.
2018-05-03 10:36:42 +08:00
Sergio Crisostomo
06a74f9ed7 Allow select to navigate AutoComplete custom children 2018-05-02 07:03:37 +02:00
Sergio Crisostomo
f7f65c8410 reset query only if no slotOptions are present 2018-04-24 09:12:47 +02:00
Sergio Crisostomo
bc348e7ebf adapt to auto-complete 2018-04-24 08:54:46 +02:00
Sergio Crisostomo
ae7579e98d Fix input getters and logic for AutoComplete 2018-04-23 10:57:24 +02:00