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
c0hb1rd
3d7d4980a9
DateTimePicker: fix invalid month value bug for Firefox 37 ( #9501 )
...
* DateTimePicker: fix invalid month value for Firefox 37
* Update date-range.vue
2018-01-28 15:20:22 +08:00
Jiewei Qian
1b59561e3f
DateTimePicker: changeToNow cheks disabledDate ( #9470 )
2018-01-25 19:16:10 +08:00
Hi-Linlin
bd47ee7d6e
DatePicker: fixed range type can not focus ( #9437 )
2018-01-24 12:55:20 +08:00
Jiewei Qian
aaf7a87848
DatePicker: support clearing value using delete ( #9409 )
...
* date-picker: fix #9276
https://github.com/ElemeFE/element/issues/9276
* test: fix broken test for form/date-picker
2018-01-23 11:41:38 +08:00
Leopoldthecoder
98bdee26b1
Popper: fix arrow position
2018-01-21 10:35:04 +08:00
nighca
2880132de8
DatePicker: fix incorrect interaction on range change when defaultTime provided
2018-01-18 11:48:57 +08:00
Hanxing Yang
94f18ab9a6
DatePicker: add attribute defaultTime ( #9094 )
...
* DatePicker: add attribute defaultTime
* use createVue instead of createTest & update docs for defaultTime
* update defaultTime type
2018-01-16 19:39:28 +08:00
AdamSGit
cf3490cfea
DatePicker: added prefix-icon and clear-icon ( #9237 )
...
* [DatePicker] Added the possibilitie to pass custom prefix and suffix icon class with same props as usual (prefix-icon and suffix-icon)
* [DatePicker] Fixed error in previous commit and updated english documentation according to icon changes
* Renamed suffix-icon to clear-icon, and updated english doc
* Cleaned unnecessary lines
2018-01-15 21:50:04 +08:00
cinwell.li
be3dcbfc4c
chore: update ESLint ( #9124 )
...
* chore: update ESLint
* chore: update eslint ignore
2018-01-05 16:53:02 +08:00
Jordan Pickwell
e86cb785b3
Fix #9121 ( #9122 )
2018-01-04 10:28:25 +08:00
remizovvv
324ee72446
Picker: Only emit 'change' event when value is changed. ( #9029 )
...
* isue#9027 picker emit only real user change
* issue#9027 date-picker emit change if user real change only
* issue#9027 date-picker emit change if user real change only
2017-12-28 16:36:42 +08:00
Leopoldthecoder
c69adb0458
publish independent packages
2017-12-20 11:52:49 +08:00
Leopoldthecoder
d58814290e
Picker: fix blur event
2017-12-12 15:54:29 +08:00
wangshaobo
b566c6156d
Add Document for AM/PM `A` time format
2017-12-10 16:16:20 +08:00
firesh
f5aa24e419
DatePicker: add am/pm mode in time selector ( #8620 )
...
* time-picker: add am/pm mode in time selector (#8270 )
* time-picker: add 'hh:mm:ss A' format test
* time-picker: add am/pm mode in time selector (#8270 )
* time-picker: add am/pm mode in time selector (#8270 )
* time-picker: add am/pm mode in time selector (#8270 )
* Update time-spinner.vue
* Update time-spinner.vue
* Update time-spinner.vue
2017-12-04 13:44:49 +08:00
Leopoldthecoder
0462d9ce1a
DatetimePicker: disable inputs when selecting range
2017-11-23 19:22:16 +08:00
Leslie
55617e0d1a
DatetimePicker: fix max time error when init value is empty ( #8336 )
...
1.no init data
2.click start time and comfirm
3.click end time and comfirm(the end time is not change)
4.error
reason:
not evaluate 'maxDate' value in step1
I will show more details in conversation
2017-11-23 19:15:16 +08:00
Leopoldthecoder
5406a97359
Chore: misc updates
2017-11-17 12:46:52 +08:00
Chris Anderson
52bbf4f3e1
Fixes #7959 by providing aria labels for buttons
2017-11-03 10:26:30 +08:00
Leopoldthecoder
343e9fa438
DatePicker: fix editable and readonly in range pick
2017-11-01 11:51:37 +08:00
胡明昊
fecc38f495
DatePicker: fix bug for wrong year number when week cross the year like 2014/12/29
2017-10-31 14:24:10 +08:00