Commit Graph

52 Commits

Author SHA1 Message Date
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
Kaveet Laxmidas
0bc07d7ec4 docs: improved documentation for el-form (#12635)
* Docs: Document el-form label-position attribute

Adds improved documentation to the el-form `label-position` attribute, which behaves differently when used with and without `label-width`. This has been a source of confusion for myself and others:

https://github.com/ElemeFE/element/issues/8477

Thanks!

* Document el-form label-position attribute (zh-CN, needs translation)

* Document el-form label-position attribute (es)

* Update form.md
2018-09-14 10:51:37 +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
Axetroy
ec6cac4232 Input: fix autocomplete property is not compatible with native #12513 (#12514)
* fix #12513

* fix: fallback for autoComplete and print deprecated warning

* fix: fix auto-complete property in select component

* fix default complete value

* Docs: Update document for autocomplete property change

* Docs: remove redundant documents

* remove unnecessary console log message\

* Update select.md

* fix: add missing declaration in select.d.ts
2018-08-28 15:44:21 +08:00
杨奕
b799d2ec4d Form: clearValidate supports prop names (#11821) 2018-07-02 18:06:16 +08:00
Zoron
3319846ecc Form: fix a typo in docs (#11765)
line 412: `...并 Form-Item 的...` -->> `...并将 Form-Item 的...`
2018-06-27 11:14:51 +08:00
杨奕
6f2f7aed47
FormItem: add clearValidate (#11076) 2018-05-09 13:58:12 +08:00
杨奕
9063dcf9c9
Form: fix a typo in docs (#10778) 2018-04-19 11:55:46 +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
Leopoldthecoder
56dc51bc85 Form: add disabled 2018-01-29 18:14:58 +08:00
Leopoldthecoder
dca4b7afd2 Chore: configure es docs 2017-12-12 14:05:55 +08:00
Leopoldthecoder
88868eebf7 Theme: releasing all variables 2017-11-02 14:01:58 +08:00
Leopoldthecoder
409a3c852f Form: fix validate state 2017-10-30 04:03:19 -05:00
Leopoldthecoder
6d3636fbac Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/index.tpl
#	examples/versions.json
#	package.json
#	packages/dropdown/src/dropdown.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/date-picker/date-picker.css
#	src/index.js
2017-10-24 18:48:54 +08:00
杨奕
71fca8e051 update custom theme docs (#7679)
* update custom theme docs

* update form docs
2017-10-24 05:43:23 -05:00
lltemplar
3b6b9fa5f7 Update form.md 2017-10-24 01:39:12 -05:00
杨奕
36dfe304f3 Form: add clearValidate (#7623)
* Form: add clearValidate

* remove dup attrs
2017-10-21 23:35:42 -05:00
Leopoldthecoder
1e95e51f9b update typings 2017-10-18 18:38:23 +08:00
杨奕
1333c85d15 Changelog: update for 2.0.0-alpha.3 (#7502)
* Changelog: update for 2.0.0-alpha.3

* fix test
2017-10-16 05:05:40 -05: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
Leopoldthecoder
2f2405a64a Changelog: add missing changes 2017-10-01 07:26:39 -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
Leopoldthecoder
c1b062b60d Form: direct child items should inherit label-width 2017-07-27 14:37:18 +08:00
baiyaaaaa
6a3ee2fdc7 fix form-item style (#5588)
* fix form-item style

* add tips
2017-07-04 18:02:05 +08:00
luciy
b124944dd8 From: Complete the form component prop field description (#4890)
* dropdown 组件 新增触发下拉框显示隐藏时, 触发visible事件,传递当前下拉框显示状态

* Dropdown 修改事件名称,新增文档

* Dropdown 统一事件名称,修改文档

* Dropdown 统一事件名称,修改文档

* 完善form表单prop字段介绍
2017-05-20 22:34:02 -07:00
Liril
bf7eabb64d Form: Add label slot 2017-05-03 18:35:55 +08:00
Xiaoyu Zhai
d6bf8a21ec form(doc): fix form docs typo (#3825) 2017-03-28 15:13:43 +08:00
baiyaaaaa
d1a2335e2b improve docs 2017-03-03 10:21:52 +08:00
baiyaaaaa
7c104b9bbd fix inline form style 2017-02-20 11:34:20 +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
b360e479db improve form's docs 2016-12-30 18:26:54 +08:00
baiyaaaaa
1df8c50dfb fix valida field params bug 2016-12-29 22:06:42 +08:00
baiyaaaaa
d26288ea30 fix input relevant component box model to inline-block 2016-12-28 19:09:11 +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
XinYong Chen
c7cfcc36bc Modify document error (#1629) 2016-12-08 18:42:33 +08:00
baiyaaaaa
d4ded0e184 improve docs 2016-12-08 13:31:45 +08:00
baiyaaaaa
d9c7824470 fix form validate bug (#1363) 2016-11-26 10:48:06 +08:00
baiyaaaaa
34e01710b5 remove button native modifier (#1232) 2016-11-20 22:39:33 +08:00
baiyaaaaa
bb0a79b1b0 add a error prop for setting the error message manually 2016-11-19 19:55:44 +08:00
baiyaaaaa
5b6dc77243 fix dynamic form item validate bug (#1207) 2016-11-18 22:05:31 +08:00
baiyaaaaa
3da91213ce improve form validate docs 2016-11-18 20:03:19 +08:00
Leopoldthecoder
7af57c84c5 i18n: remove redundant styles 2016-11-10 23:50:55 +08:00