Bryan Matthews
45c0ef46f2
TimePicker: Set the selection range after scrolling up or down ( #16868 )
2019-09-17 10:51:58 +08:00
Kerwin Ch
3f7d98b629
DatePicker: fix bug of only select min date of date range problem ( #17191 ) ( #17207 )
2019-09-02 10:58:03 +08:00
jesse-li
744bad1f96
DateTimePicker: fix time-spinner not scroll to right position
2019-08-01 18:31:39 +08:00
iamkun
be71239990
Date-Picker: add className picker option ( #16632 )
...
* add classname
* add docs
* add test
* add range picker
* update api name
* update api name
* update test
2019-07-31 12:03:12 +08:00
hetech
dc8bdc021e
Calendar: add Calendar component ( #14908 )
2019-04-25 10:57:26 +08:00
Jiewei Qian
a149828889
date-picker: fix default-value DST ( #14562 )
2019-03-21 17:18:27 +08:00
Jeff Wen
b7ee84f39a
date-picker: fix first-day-of-week computation ( #14523 )
...
Fixes #14523
2019-03-06 19:10:40 +11:00
Jiewei Qian
e52c7e06df
Date-picker: fix week picker's value-format ( #13754 )
2019-03-04 15:55:23 +08:00
zxyRealm
2f5a489a9c
DatePicker: add monthrange for type attribute ( #4204 ) ( #14487 )
2019-03-04 15:41:04 +08:00
YuCheng Lin
904e60ef1d
date-time-picker: add selectableRange in pickerOptions
2019-01-14 23:25:46 +08:00
Sean
5f181c31e3
date-picker: fix week highlight on year boundary ( #13883 )
...
When the selected week spans across two years (e.g. 2018-12-30 2019-01-05),
they should be highlighted in both month tables.
2019-01-03 14:43:37 +08:00
Ende93
0e7a7d345f
DatePicker: add key prop to 'v-for' ( #13547 )
2018-11-26 15:17:46 +08:00
Jiewei Qian
e2c5573c1f
Input: simplify el-input implementation ( #13471 )
...
* input: simplify internal implementation
remove currentValue, strictly follow one-way data flow
hack for MSIE input event when placeholder is set
remove isKorean hack (#11665 , #10648 )
* input-number: fix for new el-input
* test: input, fix vue warning
* date-time-range: fix for new el-input
* pagination: fix for new el-input, simplify internals
* input: fix input event on compositionend
* input-number: fix for new el-input
* input-number: nuke userInput on change
2018-11-26 15:05:46 +08:00
hetech
d8d4dfedd5
DatePicker: add validate-event attribute ( #13531 )
2018-11-22 18:29:16 +08:00
Jiewei Qian
9738054dd4
DatePicker: optimize code, fix #12980 , follow up #8156 ( #13374 )
...
* date-table: simplify implementation, fix #12980
* date-table: remove rangeState's row and column
* date-table: fix disabled cell highlight
this is a regression introduced in pr #8156 , which allows disabled date to be
highlighted.
Also simplifies handleClick's implementation to avoid DOM operations.
2018-11-12 19:19:58 +08:00
Ruslan P
1f592944d6
DatePicker: allowed to customize range-seprator with a slot ( #13272 )
...
* DatePicker: Allowed to customize range-seprator with a slot
Currently, the only possible option for "range-selector" is a string, would be nice to use a slot, so we could have custom svg-icon there.
* update doc
2018-11-07 12:30:47 +08:00
Harlan
edb3c9b785
TimePicker: selectable range will affect to column minutes in spinner ( #12312 )
2018-10-12 22:40:41 +08:00
Jiewei Qian
6cb92acc34
DatePicker: validate input date ( #12898 )
...
* date-picker: fix confirm() ignoring date validity
make date-range panel's confirm validate date before confirming.
1. disable confirm button if picked date is invalid
2. reset highlight date on picker open (resetView)
* test: date-time-range confirm honors disabledDate
2018-09-27 16:03:11 +08:00
Jiewei Qian
e7725797c4
chore: update date-picker comment notes ( #12899 )
2018-09-27 15:37:58 +08:00
Abdalla Nayer
c782b0dc8e
DatePicker: turn off autocomplete for date picker range ( #12521 )
2018-08-27 23:04:28 +08:00
rang-ali
3009999c5a
TimePicker: dynamic scroll position of time-spinner items ( #12415 )
...
Makes it possible to style the height of ".el-time-spinner__item".
Removed the fixed values associated to a height and line-height: 32px. It's now possible to set whichever height a user wants and the scrollbar will adjust itself accordingly.
2018-08-22 11:18:44 +08:00
Jiewei Qian
b70da53f15
DatePicker: improve form change validation ( #12348 )
...
watch.value will keep firing during time picker selection
it now detects whether panel is closed before firing el.form.change
2018-08-15 11:38:37 +08:00
Jiewei Qian
02176e26f4
Date picker refactor dates selection: fix 12323 ( #12347 )
...
* date-picker: refactor type='dates'
fix issue #12323
{month, year} table highlights all selected dates
nuke selectedDates to provide cleaner data flow
* doc: correct date-picker's array usage
empty value must be falsy (empty array should not be used)
2018-08-14 16:19:51 +08:00
Jiewei Qian
9f80cf91da
date-picker: fix form change validation ( #12328 )
2018-08-13 12:26:36 +08:00
Jiewei Qian
69dd5399aa
date-picker: fix #11152 ( #12114 )
2018-07-25 13:07:46 +08:00
Dwight Watson
e003b1460a
Use methods instead of inline expressions ( #12059 )
2018-07-20 14:38:03 +08:00
Jikkai Xiao
e4de2b46bf
TimeSelect: fix fieldReset when initialValue is empty string ( #12010 )
2018-07-16 19:18:29 +08:00
k-okina
1f8c7ba598
Chore: provide a key with v-for ( #11891 )
2018-07-11 15:17:20 +08:00
Jiewei Qian
5c44539de1
DatePicker: guards common but incorrect usage ( #11673 )
2018-06-25 16:47:45 +08:00
hetech
465dcf2a19
Chore: retire lerna and remove redundant files ( #11493 )
...
* Chore: retire lerna and delete redundant files
* Chore: update Makefile
2018-06-05 19:27:13 +08:00
Jiewei Qian
ecec908da8
DateTimePicker: fix incorrect date on time pick ( #11474 )
...
* date-time-picker: fix incorrect date on time pick
* date-time-picker: fix incorrect date on confirm
2018-06-04 20:22:38 +08:00
Jiewei Qian
71a66ae21d
DatePicker: fix valueEquals for array ( #11017 )
2018-05-07 14:28:54 +08:00
Jiewei Qian
31b65b8e51
DatePicker: fix dates selection date jump ( #10973 )
...
see issue #10890
2018-05-03 10:26:25 +08:00
Jiewei Qian
d8f861e929
DatePicker: nuke invalid input on close ( #10749 )
2018-04-17 14:15:47 +08:00
杨奕
1f4adb7c08
DatePicker: support multiple dates selection ( #10650 )
...
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* DatePicker: add multiselect feature
* Datepicker: fix can't clear bug
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* Datepicker: add unit test
* DatePicker: support multiple dates selection
* reflect review comments
2018-04-17 14:09:43 +08:00
Jiewei Qian
7c3cadba5c
DatePicker: fix week selection range highlight ( #10712 )
2018-04-15 14:30:14 +08:00
RickMacTurk
528bce4479
DateTimePicker: enable default-time attribute in date picker ( #10321 )
2018-04-02 11:55:49 +08:00
Cyril Su
a8abe07f3e
Input: bind id only when given ( #10360 )
2018-03-26 16:58:22 +08:00
remizovvv
bfa44e8b4f
DatePicker: extract time and date format from format prop ( #10174 )
2018-03-20 14:04:44 +08:00
Harlan
b24a9ce729
TimeSelect: fix resetField not working when user inputs an invalid value ( #10176 )
2018-03-15 11:54:02 +08:00
Cyril Su
2d1251975c
DatePicker: fix unexpected blur for time panel ( #10141 )
2018-03-13 17:53:04 +08:00
Jason Zoo
9d6d0d69c1
DateRange: support reversed selection in range mode ( #8156 )
2018-03-06 19:21:56 +08:00
Jiewei Qian
cacb0aeaec
DatePicker: fix change event on clear ( #9986 )
2018-03-05 16:42:42 +08:00
Eng Philippe
b54ed0a62f
DatePicker: prefix icon of input clickable for non-range pickers ( #9966 )
2018-03-02 14:52:40 +08:00
Jiewei Qian
6dd3d38393
DatePicker: fix date-time panel user input ( #9913 )
...
* date-picker: fix date-time panel user input
* test: add test for date-time-picker change event
2018-03-01 10:22:44 +08:00
阿林
ad07722aab
Chore: replace var with let and const ( #9774 )
2018-02-11 16:37:58 +08:00
Jiewei Qian
5b0b1e7e92
DatePicker: fix date clamping during navigation ( #9577 )
2018-01-31 14:20:07 +08:00
Leopoldthecoder
56dc51bc85
Form: add disabled
2018-01-29 18:14:58 +08:00
wacky6.AriesMBP
1f58f4f8d5
date-picker: add timestamp format
2018-01-29 12:14:40 +08:00
Hi-Linlin
e40c17f68b
DatePicker: panels should display different months ( #9471 )
2018-01-28 16:16:15 +08:00