Commit Graph

68 Commits

Author SHA1 Message Date
Leopoldthecoder
4392a036d1 Form: fix support for dot-separated rule key 2017-12-19 10:33:27 +08:00
Leopoldthecoder
81ff11ad41 Form: fix initial error message 2017-12-16 21:23:05 +08:00
Leopoldthecoder
0fb05a35b3 Changelog: update for 2.0.8 2017-12-12 16:54:17 +08:00
Leopoldthecoder
53fa204128 Form: fix blur validation 2017-12-12 14:05:55 +08:00
Leopoldthecoder
ffc310d98d Form: support nested rules 2017-12-11 19:02:32 +08:00
Leopoldthecoder
8f623b4cc4 Form: required rule shouldn't care about model type 2017-11-20 22:29:01 +08:00
Leopoldthecoder
409a3c852f Form: fix validate state 2017-10-30 04:03:19 -05:00
Allenice
468124f956 Form: fix async validate bug 2017-10-30 01:51:14 -05:00
Allenice
476d1c4f6e Form: fix async validate bug 2017-10-30 01:51:14 -05:00
Leopoldthecoder
00e8c7454f misc updates and fixes 2017-10-25 22:21:35 -05:00
Cyril Su
25e8503d65 Carbon: Table add features and fix bugs (#7682)
* Table: Fix error in calculate `totalFlexWidth`

* Table: Fix error in caculate `scrollX`

* Table: Watch `max-height` change

* Table: Change `toggleRowExpanded`

* Table: Support `obj[key]`

* Table: Update docs for `toggleRowExpanded`

* Table: Add style and class control for every row and cell

* Table: Add `migrating` mixin for `expand`

* Table: Update test spec

* Table: Add `index` in `table-column` for custom index
2017-10-25 02:35:12 -05:00
杨奕
36dfe304f3 Form: add clearValidate (#7623)
* Form: add clearValidate

* remove dup attrs
2017-10-21 23:35:42 -05:00
baiyaaaaa
c3cf3f2389 support prop 'for' (#6049) 2017-10-21 22:00:06 -05:00
Leopoldthecoder
f0b7debd23 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/docs/en-US/switch.md
#	examples/docs/zh-CN/switch.md
#	examples/versions.json
#	package.json
#	packages/switch/src/component.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/common/var.css
#	packages/theme-default/src/switch.css
#	src/index.js
2017-10-16 18:33:41 +08:00
杨奕
38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
Black Wayne
9b09f6aa9f Form: add size attribute (#7428) 2017-10-12 04:50:06 -05:00
Black Wayne
5426c957a2 add upload limit & form validate return promise (#7405)
* Carbon: upload limit & input append & form validate promise

* Update upload.md

* Update upload.md

* Update index.js
2017-10-12 03:07:50 -05:00
Hoxton Lau
2cf9c4e7a7 Form-item: fix "required" attribute is not effective for validation 2017-10-01 03:06:17 -05:00
Leopoldthecoder
257473f305 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/app.vue
#	examples/docs/en-US/tree.md
#	examples/docs/zh-CN/tree.md
#	examples/versions.json
#	packages/select/src/select.vue
#	packages/theme-default/package.json
2017-09-29 16:21:29 +08:00
Hoxton Lau
06d29e2ed6 Form-item: fix typo 2017-09-22 04:47:17 -05:00
杨奕
ad88dd2ec7 TimePicker: add chalk theme (#7102)
* TimePicker: add chalk theme

* minor style fixes
2017-09-19 09:35:57 -05:00
baiyaaaaa
91d9ed7feb feature inline message 2017-09-18 00:37:43 -05:00
baiyaaaaa
84517bb5d9 fix input test 2017-09-18 00:37:43 -05:00
baiyaaaaa
6e31e61516 support success validate status 2017-09-18 00:37:43 -05:00
baiyaaaaa
5c17f57995 upgrade input 2017-09-18 00:37:43 -05:00
leezng
ce270fef4d When <el-form> missing model, validate will return false, then throw a warning to facilitate the developer troubleshooting 2017-07-27 15:28:30 +08:00
Leopoldthecoder
c1b062b60d Form: direct child items should inherit label-width 2017-07-27 14:37:18 +08:00
baiyaaaaa
3f743a4495 fix form-item label bug 2017-07-19 09:56:32 +08:00
baiyaaaaa
6a3ee2fdc7 fix form-item style (#5588)
* fix form-item style

* add tips
2017-07-04 18:02:05 +08:00
Leopoldthecoder
601bd6469b add two warns 2017-06-18 18:07:48 +08:00
baiyaaaaa
9756a3c33a support dynamic form item rule required 2017-06-18 17:18:49 +08:00
Liril
bf7eabb64d Form: Add label slot 2017-05-03 18:35:55 +08:00
Leopoldthecoder
0da3967d3a Revert "Form: remove emitter (#4532)"
This reverts commit fff7dddd94.
2017-05-03 15:20:47 +08:00
cinwell.li
fff7dddd94 Form: remove emitter (#4532) 2017-05-02 10:25:39 +08:00
sunlei33
5eef48b97e Form: 如果需要验证的fields为空,调用验证时立刻返回callback (#3944)
* Form: 如果需要验证的fields为空,调用验证时立刻返回callback
同时修复几个代码格式用来通过npm run dist

* fix travis

* fix travis

* fix travis
2017-04-01 14:06:23 +08:00
pengchongfu
88d4a390d0 Form: fix form-item resetFields (#3830) (#3840) 2017-03-30 11:33:44 +08:00
broven
933d9a8241 form-item: fix #3226 2017-03-05 16:54:19 +08:00
baiyaaaaa
2d8c887b6a fix form inline label bug
This reverts commit d76d28dd54f9f02222d5190182a3e6d8790bcbe6.

fix form inline label bug
2017-02-27 11:45:28 +08:00
baiyaaaaa
7f1d36ee3e fix inline form label width 2017-02-23 14:32:26 +08:00
shangkai
6e45d067f7 解决error变成null或者空的时候,validateState依然是error的问题。 (#2621) 2017-02-04 11:07:49 +08:00
cinwell.li
9f5c08e6e6 Clean packages (#2345) 2017-01-23 14:06:01 +08:00
baiyaaaaa
f1b8909e27 remove labelWidth when labelPosition is 'top' (#2417) 2017-01-16 10:42:18 +08:00
baiyaaaaa
bbd779c26f add show-message support 2017-01-12 12:12:56 +08:00
baiyaaaaa
1df8c50dfb fix valida field params bug 2016-12-29 22:06:42 +08:00
baiyaaaaa
f414049311 fix form async validate bug (#1936) 2016-12-23 00:49:45 +08:00
njleonzhang
f409d02f3e 修改form readme 2016-12-22 13:55:44 +08:00
baiyaaaaa
1db8dc6588 Revert "fix form validate callback params" (#1864)
This reverts commit 87b13bf0e07c0ce8ac183ecd2020088c26a81de0.
2016-12-20 14:17:53 +08:00
baiyaaaaa
e7e104df5d fix form validate callback params 2016-12-20 11:05:42 +08:00
baiyaaaaa
a5bdd2cabb component README update and fix 2016-12-16 10:57:54 +08:00
baiyaaaaa
7a85d55f31 normalize transition class name 2016-12-03 19:30:21 +08:00