Commit graph

137 commits

Author SHA1 Message Date
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
Sergio Crisostomo
9ca6671c71 Check for selected label before reassignment 2018-04-23 10:57:24 +02:00
Sergio Crisostomo
b6c069ca9d reset query if options are removed 2018-04-23 10:57:24 +02:00
Sergio Crisostomo
45bcc14daa prevent calling remote method on query reset to selected 2018-04-23 10:57:24 +02:00
Sergio Crisostomo
7f63e58ced Make possible for v-model to wait for async options 2018-04-23 10:57:24 +02:00
Sergio Crisostomo
cf753854d1 Corrections after review input 2018-04-23 10:57:24 +02:00
Sergio Crisostomo
c9b86944ec Refactor Select! 2018-04-23 10:57:24 +02:00
huanghong
dab9c3f601 update popper animation 2018-04-11 22:06:53 +08:00
梁灏
61339d6328 update dropdown.vue popper.js opts 2018-04-10 16:13:09 +08:00
miomio-xiao
e6edc172ff fix select dropdown position 2018-03-29 17:35:56 +08:00
huanghong
347815f7a3 update dropdown 2018-03-16 16:58:20 +08:00
huanghong
3d1fa03442 解决dropdown弹出来之后改变位置动画还是上次的bug 2018-03-16 00:53:57 +08:00
huanghong
e09b07b79c 解决drop弹出动画异常 2018-03-16 00:43:11 +08:00