Commit Graph

95 Commits

Author SHA1 Message Date
luckyCao
466aa288a3 Form: Fix resetFields issue #(15181) (#15640) 2019-05-28 14:15:56 +08:00
luckyCao
5425dc69fe Form: fix switching the rules in el-form not work (#14985) (#15017) 2019-04-19 15:17:45 +08:00
hetech
7b24f82586 Form: fix label style (#14969) 2019-04-03 20:03:56 +08:00
hetech
901ff0ed2b
Form: fix style when label-width is auto (#14955) 2019-04-03 16:49:27 +08:00
hetech
a408b3dd3f
Form: label-width supports width auto (#14944) 2019-04-03 11:56:49 +08:00
ziyoung
1a52458a42 chore: use shadow CDN and fix typo 2019-01-10 20:00:23 +08:00
hetech
e715848c90
Form: validateField accepts an array of field names (#13319) 2018-11-06 18:52:54 +08:00
hetech
0de8a032c0
Upload: use uid as upload-list key (#13054)
* Upload: use uid as upload-list key

* chore: fix code style
2018-10-15 17:06:45 +08:00
刘晓
a9026606e0 Form: clearValidate supports string type param (#12990) 2018-10-15 15:54:55 +08:00
Yamen Sharaf
44a85b8e60 Form: emits error message on validate event (#12860)
* Form: Emits error message on validate events

* Update form.md
2018-09-26 10:50:50 +08:00
Yamen Sharaf
098ba463c3 FormItem: adding hide-required-asterisk attribute(#12744)
* Form: adds prop to make asterisk optional on required  fields

* Form: adds prop to make asterisk optional on required  fields

* ElForm: Reverses attribute name to hide-required-asterisk, which defaults to false

* Update form-item.vue

* Update form.scss

* Update form.md
2018-09-17 18:32:23 +08:00
Yamen Sharaf
ea27fb8fbf FormItem: using slot-scope to display validation message (#12715)
* Updated el-form-item to accept custom error message via slot

* FormItem: updated slot name in docs

* updated spanish and chinese translations

* Update form.md

* Update form.md

* Update form.md

* Update form.md
2018-09-13 18:19:44 +08:00
hetech
9e738a85c3
Input: not trigger form validation when input (#12260)
* Input: not trigger validation when input

* InputNumber: update docs
2018-08-07 18:33:58 +08:00
38elements
55c97e588c FormItem: v-bind:style -> :style (#11996) 2018-07-15 16:57:38 +08:00
杨奕
ef74ee05b3
Select: revert #10105 (#11837) 2018-07-03 15:03:50 +08:00
杨奕
b799d2ec4d Form: clearValidate supports prop names (#11821) 2018-07-02 18:06:16 +08:00
Jason Zoo
dc816832e1 form-item sizeClass (#11408)
* form-item sizeClass

* Update form.spec.js
2018-05-30 18:25:50 +08:00
杨奕
d9bcaacc74
Form: add validate event (#10351) 2018-03-25 22:32:22 +08:00
杨奕
cf7f117bfb
Form: add invalidFields as a second param of validation callback (#10279) 2018-03-21 13:36:29 +08:00
杨奕
a294c628e9
Form: rule key supports both dot-separated and nested (#10227) 2018-03-19 11:10:06 +08:00
杨奕
b60c2cac8c
Form: make filter conditions for getFilteredRule clearer (#10181) 2018-03-15 12:28:15 +08:00
Harlan
d73ec07d07 Form: fix validation skipping rules whose trigger is an array (#10178) 2018-03-15 12:14:20 +08:00
Harlan
b24a9ce729 TimeSelect: fix resetField not working when user inputs an invalid value (#10176) 2018-03-15 11:54:02 +08:00
杨奕
f234b161df
Select: trigger validation after resetField (#10105) 2018-03-10 20:20:48 +08:00
阿林
ad07722aab Chore: replace var with let and const (#9774) 2018-02-11 16:37:58 +08:00
Leopoldthecoder
56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
badpunman
c1fbffe051 Form: add validateOnRuleChange (#8141) 2018-01-29 15:41:53 +08:00
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