## Changelog ### 1.2.9 *2017-04-19* - Fixed RadioButton not working properly when some texts on the page are selected, #4217 - Fixed the toggle-all checkbox of Tree not working in some browsers, #4107 (by @pengchongfu) - Fixed Cascader clear button not working, #4167 (by @pengchongfu) - Fixed router switching error when the page has a Table with Tooltips, #4085 - Fixed Upload not able to remove selected files, #4233 - Added `onClick` attribute for Notification, #4221 (by @amouillard) - Fixed binding value of DatePicker becoming undefined when cleared, #4186 (by @pengchongfu) - Fixed style error of ColorPicker when nested in a FormItem, #4303 - Added `enterable` attribute for Tooltip, #4210 ### 1.2.8 *2017-04-07* - Fixed `resetFields` of Form reassigning form items, #3840 (by @pengchongfu) - Added `max` and `min` attributes for CheckboxGroup, #3700 (by @mdartic) - Fixed DatePicker adding one to picked month in some specific days, #3935 - Added `closeAll` method for Message, #3966 (by @pengchongfu) - Added `format-tooltip` attribute for Slider, #3657 (by @liyanlong) - Fixed filter panel of Table being when nested in a Dialog, #4023 (by @liyanlong) - Fixed single Select unable to create new items in Vue 2.2.x, #3984 - Fixed Row disappearing in all breakpoints if its `span` is set to 0 in some breakpoints, #4053 ### 1.2.7 *2017-03-29* - Fixed Select not compatible with Vue 2.2.6, #3797 - Improve performance for rendering tooltip in Table, #3478 - Add `tooltip-effect` property for Table ### 1.2.6 *2017-03-28* - Fixed Switch compatible with SSR, #3752 - Fixed the time of TimePicker calculating incorrectly, #3479 - Fixed the week of DatePicker formatting incorrectly, #2774 - Fixed the week of DatePicker initializing incorrectly, #3058 - Fixed the events of Popover destroying incorrectly, #3555 - Fixed InputNumber setInterval, #3514 (by @pengchongfu) - Fixed RadioButton css files, #3276 - Fixed hover style on striped Table, #3696 (by @nicoeg) - Fixed Slider's button jumping left issue, #3664 (by @gabrielboliveira) - Added `delete-tag` event for Select, #3663 (by @pengchongfu) - Added `onPick` option for DatePicker, #2921 - Added `status` for Step, #3722 - Added full example for on-demand importing, #3302 ### 1.2.5 *2017-03-19* - Added `show-tooltip` property for Slider, #3430 (by @gabrielboliveira) - Fixed Slider precision not updating when `step` is updated, #3475 (by @gabrielboliveira) - Fixed a bug that when the window is at the criticality of showing the scrollbar, the popup of Tooltip inside a Table will cause the Table to shake horizontally, #3549 - Fixed Table automatically shrinking vertically in some conditions, #3539 - Fixed popup components inside a Popover not hiding when blank area is clicked, #3451 (by @nicoeg) - Now Col will hide itself if its `xs`, `sm`, `md` or `lg` is set to 0, #3564 ### 1.2.4 *2017-03-09* - Fixed Carousel not responding to dynamic data updates, #3159 - Fixed `cell-dblclick` of Table not firing issue, #3305 - Fixed disabled Cascader not displaying initial value, #3297 - Fixed Slider not correctly displaying initial value when `show-input` is true, #3281 - Fixed Tooltip error in server-side rendering, #3214 - Fixed `range-separator` of DatePicker not working issue, #3378 - Added support for dynamically update loading text of Loading directive, #3345 (by @imyzf) - Added `http-request` attribute for Upload, #3387 - Added support for hiding col if its `span` is 0, #3313 ### 1.2.3 *2017-03-01* - Fixed Tooltip, #3152 ### 1.2.2 *2017-02-28* - Fixed compatibility issues with Vue 2.2, #3002 #3067 #3097 - Fixed Cascader's dropdown hiding behind Dialog when nested in a Dialog, #3035 - Fixed incorrect parameter of `change` event of Cascader, #3014 - Add `change` event for ColorPicker, #3049 (by @nicoeg) - Fixed `setCheckedKeys` method of Tree not working on non-leaf nodes, #2967 (by @rainyLeo) - Fixed Tooltip not compatible with `router-link`, #3143 ### 1.2.1 *2017-02-23* - Fixed SSR regression in version 1.2.0, #2982 - Fixed horizontal scroll buttons not showing in Tabs, #2974 - Fixed wrong calculation of height after the `height` attribute is updated dynamically in Table, #2979 - Added `cell-dblclick` and `header-dragend` events for Table, #2983 #2988 - Fixed form items showing a left padding inside an inline Form with a specified `label-width`, #2990 - Fixed Cascader's dropdown misplaces in some conditions, #2992 ### 1.2.0 Lithium *2017-02-22* #### New features: - Two brand new components: Cascader and ColorPicker - New attributes `editable` and `addable`, and new events `tab-add` and `edit` for Tabs - Language config files in UMD format - New events `node-expand` and `node-collapse` for Tree, #2507 (by @masterzhang) - New attribute `indent` for Tree, #2713 - Dialog's title now supports named slot, #2657 - New attribute `range` for Slider, #2751 - Upload - Attribute `auto-upload` that controls if files are uploaded immediately after selecting, and its default value is `true` - Event `on-change` that fires when file status changes - Attribute `list-type` that configures the appearance of file list - Scroll bars in Autocomplete are made prettier #### Fixes: - Carousel not responding to contents' update, #2775 - Numbers in TimePicker not align in some conditions, #2948 - TimePicker only responding to odd clicks in some conditions, #2884 (by @k55k32) - Tabs' display order error when tab-pane is dynamically changed, #2898 - Menu highlighting menu-item when `default-active` is assigned to an non-existent item - Collapse's style issue when nested #### Breaking changes: - Tooltip is refactored, no additional HTML tags will be rendered so that the structures of nested component stay unchanged, #2459 - The backdrop of Dialog now inserts to body element by default, #2556 - Tabs don't maintain tab instances internally any more, so they should be handled externally via events emitted by Tabs, #2567 - Upload is refactored - `default-file-list` renamed to `file-list`, and `show-upload-list` renamed to `show-file-list` - `thumbnail-mode` removed ### 1.1.6 *2017-01-23* - Fixed `customClass` of MessageBox affecting follow-up instances, #2472 - Fixed style issue of Select after being activated when located in a non-default-activated tab pane inside Tabs, #2466 - Fixed style missing issue for some components when imported on demand - Fixed disabled filterable multiple Select still showing dropdown when clicked on a certain area, #2540 - Restored returning to original sorting in sortable Table columns, #2491 - Added `reset.css` in `theme-default`, #2378 - Added `range-separator` attribute for DatePicker, #2579 - Published individual component packages: Table, DatePicker, Loading, Upload and Carousel - Add Finnish (@groenroos) ### 1.1.5 *2017-01-17* - Fixed Menu not activating corresponding menu item after router switching in router mode, #2451 - Fixed `value` attribute of Collapse not supporting `Number` typed value, #2455 ### 1.1.4 *2017-01-16* - Fixed Input Number triggering `change` event when bound value is changed programmatically, #2329 - Fixed Menu not responding to `$router` changing in router mode, #2391 - Fixed Menu and Tree expanding state malfunctioning when clicked multiple times quickly, #2354 - Fixed `change` event triggering mechanism of Input Number and Checkbox Group, now they do not fire when bound value is changed programmatically - Added `on-icon-click` attribute for Input, #2414 - Added `disabled` attribute for Radio Group, #2411 - Added `accordion` attribute for Tree, #2408 - Added `show-message` attribute for Form, #2356 - Fixed sort clicking area of Table, updated default sorting related APIs, #2309 #2405 (by @njleonzhang) - Fixed `firstDayOfWeek` not working in ranged typed of DatePicker, #2353 - Fixed DatePicker displaying 1970 when initial value is null, #2388 - Fixed `filteredValue` attribute for Table, #2348 - Fixed scrollable Table's style with empty data, #2396 - Added `beforeClose` attribute for MessageBox, #2204 - Fixed filterable Select not showing dropdown when triangle icon is clicked, #2389 Breaking change - The `default-sort-prop` and `default-sort-order` attributes added in 1.1.3 are now merged into an object-typed attribute ### 1.1.3 *2017-01-09* - Fixed DatePicker not firing change event when cleared for the first time upon page load, #2167 - Fixed DatePicker year calculating error when choosing the next year, #2152 - Added `default-sort-prop` and `default-sort-order` attributes for Table, #2182 (by @njleonzhang) - Fixed filterable Select filtering other options with initial value, #2196 - Added custom i18n processing, making Element compatible with i18n plugins other than `vue-i18n`, #2129 - Added `resize` attribute for Input, #2263 (by @Kingwl) - Fixed Autocomplete not hiding dropdown when blurred, #2247 - Fixed style issues with nested Tabs, #2212 (by @Kingwl) - Fixed Tabs' tab bar locating error when non-first item is initially activated, #2192 ### 1.1.2 *2016-12-30* - Fixed `sortable` and `fixed` attribute of Table not working in Vue 2.1.7+ - Fixed Input Number not resetting on blur when input with illegal values, #2098 - Removed `title` scoped slot of Collapse, and added `title` named slot, #2100 - Fixed range selection in TimePicker not working issue - Fixed Tabs' active tab switching when a non-active tab is removed, #2106 - Fixed console error reporting when navigating Select with arrow keys, #2120 - Fixed incorrect validation timing of filterable Select in Form, #2120 ### 1.1.1 *2016-12-29* - Fixed compatibility issue with latest Vue due to compilation ### 1.1.0 Helium *2016-12-29* #### New features: - Two brand new components: Carousel and Collapse - SSR supported - Scrollbars' style inside components is upgraded - Table now supports custom templates via [scoped slots](http://vuejs.org/v2/guide/components.html#Scoped-Slots); the good old `inline-template` is still compatible, but it's no longer recommended and is likely to be removed in the future - Table now supports expandable rows - DatePicker now supports specifying the first day of week - TimeSelect now supports `maxTime` - Autocomplete now supports `popper-class` - To customize template of Tab-Pane, now you can use the `slot` named `label` #### Fixes: - `change` event of DatePicker incorrectly triggering multiple times, #2070 - Width shaking of tab-pane while initializing, #1883 #### Breaking changes: - Only compatible with Vue 2.1.6 and beyond - Parameters of Form validateField() methods are updated - Alert's render-content attribute is removed, and now you can pass your custom template via default slot - The box models of Input and Select are updated from `block` to `inline-block` - The box model of Tabs is updated from `inline-block` to `block`, and Tab-Pane's `label-content` attribute is removed - The dropdown of Autocomplete now inserts directly to `
`, not `