Migrated repository
Go to file
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
.github Chore: retire lerna and remove redundant files (#11493) 2018-06-05 19:27:13 +08:00
build Chore: optimize entry script (#12192) 2018-08-01 11:50:01 +08:00
examples Form: emits error message on validate event (#12860) 2018-09-26 10:50:50 +08:00
packages DatePicker: validate input date (#12898) 2018-09-27 16:03:11 +08:00
src i18n: add Serbian translation (#12863) 2018-09-25 11:16:09 +08:00
test/unit DatePicker: validate input date (#12898) 2018-09-27 16:03:11 +08:00
types Upload: add missing definition (#12839) 2018-09-20 16:50:27 +08:00
.babelrc fix salad config 2016-11-13 22:08:38 +08:00
.eslintignore Chore: eslint ignore font files (#11696) 2018-06-25 16:35:58 +08:00
.eslintrc chore: update ESLint (#9124) 2018-01-05 16:53:02 +08:00
.gitattributes DatePicker: fix trigger multiple watch, fixed #597 2016-10-24 11:33:48 +08:00
.gitignore DatePicker: support multiple dates selection (#10650) 2018-04-17 14:09:43 +08:00
.travis.yml Chore: use lts node version in travis (#10889) 2018-04-25 17:32:51 +08:00
CHANGELOG.en-US.md Changelog: update for 2.4.7 (#12765) 2018-09-14 14:31:40 +08:00
CHANGELOG.es.md docs: update Spanish doc for 2.4.7 (#12770) 2018-09-14 19:18:50 +08:00
CHANGELOG.zh-CN.md Changelog: update for 2.4.7 (#12765) 2018-09-14 14:31:40 +08:00
components.json add layout (#6600) 2017-08-22 12:46:22 +08:00
element_logo.svg add logo 2016-12-13 22:00:20 +08:00
FAQ.md Changelog: update for 2.0.6 2017-11-29 14:26:16 +08:00
LICENSE Chore: update license year (#12419) 2018-08-22 11:16:47 +08:00
Makefile Chore: retire lerna and remove redundant files (#11493) 2018-06-05 19:27:13 +08:00
package.json [release] 2.4.7 2018-09-14 14:47:08 +08:00
postcss.config.js Chore: convert build system to webpack (#11216) 2018-05-21 15:26:46 +08:00
README.md Chore: update donation qrcode (#12553) 2018-08-30 14:45:15 +08:00
yarn.lock Chore: update yarn.lock (#11539) 2018-06-08 12:38:56 +08:00


Special thanks to the generous sponsorship by:

A Vue.js 2.0 UI Toolkit for Web.

Install

npm install element-ui -S

Quick Start

import Vue from 'vue'
import Element from 'element-ui'

Vue.use(Element)

// or
import {
  Select,
  Button
  // ...
} from 'element-ui'

Vue.component(Select.name, Select)
Vue.component(Button.name, Button)

For more information, please refer to Quick Start in our documentation.

Browser Support

Modern browsers and Internet Explorer 10+.

Development

Skip this part if you just want to use Element.

For those who are interested in contributing to Element, please refer to our contributing guide (中文 | English | Español) to see how to run this project.

Changelog

Detailed changes for each release are documented in the release notes.

FAQ

We have collected some frequently asked questions. Before reporting an issue, please search if the FAQ has the answer to your problem.

Contribution

Please make sure to read the contributing guide (中文 | English | Español) before making a pull request.

Special Thanks

English documentation is brought to you by SwiftGG Translation Team:

Spanish documentation is made possible by these community developers:

Donation

If you find Element useful, you can buy us a cup of coffee

donation

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

LICENSE

MIT