Commit Graph

25 Commits

Author SHA1 Message Date
btea
9aa03ac774
fix(components): [el-form] reset form validate error (#3759) 2021-11-05 18:45:45 +08:00
辛宝Otto
63d3d9d168
refactor(components): elForm 渐进增强表单规则,允许用户自定义类型 (#3951) 2021-11-02 23:47:16 +08:00
msidolphin
a504503eab
fix(components): [el-form-item] validate success does not return fields (#4001)
fix #3860
2021-10-27 18:46:34 +08:00
波比小金刚
40b3dea926
fix(components): [el-form-item] calc the label-width. (#3914) 2021-10-18 16:31:45 +08:00
三咲智子
ffe6d251c6
refactor(components): refactor input (#3805)
* refactor(input): rename

* refactor(input): with-install

* refactor(input): kebab-case

* refactor(components): refactor input

* fix: fix test import

* refactor(components): [el-input] refactor export named

* refactor: improve types

* refactor: improve types
2021-10-18 16:21:30 +08:00
三咲智子
4a4f04970d
fix(components): [el-form] fix async-validator version (#3697) 2021-09-28 11:58:16 +08:00
三咲智子
f9c9f11415
feat(project): upgrade async-validator to 4.0.3 (#3667)
* feat(project): upgrade async-validator to 4.0.3

* fix: fix types
2021-09-27 09:57:44 +08:00
jeremywu
3138dea797
fix(components): sub components no install issue (#3615)
- Add noop install for all sub components for supress the warning
2021-09-24 19:11:56 +08:00
btea
f21b15a67e
fix(components): [el-form] fix the methods validate callback invalid (#3589) 2021-09-23 16:10:03 +08:00
三咲智子
0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00
三咲智子
c86c2b0fe9
style: eslint enable prefer-template (#3414)
* style: eslint enable prefer-template

* chore: apply eslint rules
2021-09-17 09:18:24 +08:00
Delyan Haralanov
c17161e21c
Feat/remove mitt (#3356)
* feat(components): collapse use provide/inject instead of mitt events

# Conflicts:
#	packages/components/collapse/src/collapse-item.vue
#	packages/components/collapse/src/collapse.vue

* feat(components): menu use provide/inject instead of mitt events

# Conflicts:
#	packages/components/menu/src/menu.ts

* feat(components): form use provide/inject instead of mitt events

# Conflicts:
#	packages/components/checkbox/src/checkbox-group.vue
#	packages/components/checkbox/src/useCheckbox.ts
#	packages/components/form/src/form-item.vue
#	packages/components/form/src/form.vue
#	packages/components/input/src/index.vue
#	packages/components/radio/src/radio-group.vue
#	packages/components/select/src/useSelect.ts
#	packages/components/slider/src/index.vue
#	packages/components/time-picker/src/common/picker.vue
#	packages/components/transfer/src/index.vue
#	packages/tokens/form.ts

* feat(components): tree use provide/inject instead of mitt events

# Conflicts:
#	packages/components/tree/src/model/useDragNode.ts
#	packages/components/tree/src/tree-node.vue

* feat(components): select use provide/inject instead of mitt events

# Conflicts:
#	packages/components/select/src/option-group.vue
#	packages/components/select/src/select.vue
#	packages/components/select/src/useOption.ts
#	packages/components/select/src/useSelect.ts

* feat: remove mitt from packages dependencies

# Conflicts:
#	packages/components/package.json
#	packages/element-plus/package.json
#	packages/tokens/package.json

* feat: remove mitt from webpack.config.js

* refactor: change imports order

* refactor: import types separately

* fix: revert removing mitt from webpack.config.js

This config is not related to the build so no need to remove mitt here
2021-09-16 21:19:27 +08:00
Herrington Darkholme
fc74a232a0
Revert "fix(components): [el-form]: ensure form validation always triggers callback (#3294)" (#3324)
This reverts commit 509292678d.
2021-09-10 12:02:52 +08:00
Robert Schönthal
509292678d
fix(components): [el-form]: ensure form validation always triggers callback (#3294)
ensures the callback is always called
2021-09-10 11:49:33 +08:00
Aex
03f02b5554
refactor(utils): improve debug warn (#3302) 2021-09-09 11:49:48 +08:00
Aex
2f9cdc74ce
chore(project): improve prettier format (#3236) 2021-09-05 00:53:31 +08:00
SongWuKong
6f23947920
fix(components): message verified by el-form is "" validate (#3227) (#3231) 2021-09-04 19:35:11 +08:00
三咲智子
55348b30b6
style: use prettier (#3228)
* style: use prettier

* style: just prettier format, no code changes

* style: eslint fix
object-shorthand, prefer-const

* style: fix no-void

* style: no-console
2021-09-04 19:29:28 +08:00
三咲智子
80ccfef93c
docs/test: [el-form] add scrollToField docs and test (#3147)
* docs(typography): format docs

* docs(docs): [el-form] add scrollToField method

* test(components): [el-form] add scrollToField test

* destroy mock
2021-09-03 14:13:58 +08:00
Taosh
e8a66adffd
fix(components): [el-form-item] dom element null checking (#3172) 2021-09-01 17:49:39 +08:00
Sanxiaozhizi
8f67fb7645
feat(components): form add scrollToField method (#3110)
* feat(form): add scrollToField function

* feat(components): complete scrollToField function

Co-authored-by: linjie <linjie@zhuanzhuan.com>
2021-08-28 20:00:19 +08:00
Sanxiaozhizi
0617cdf9f8
test: fix test (#3109) 2021-08-27 19:13:37 +08:00
wangbincyzj
8830b2337a
fix: [label-wrap] Fix misspellings (#3030)
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-25 09:47:41 +08:00
wangbincyzj
9c790c76f0
fix(components): [form-item] Fix misspellings (#3019)
Co-authored-by: wangbin <bin.wang2@cyclone-robotics.com>
2021-08-24 14:25:28 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00