Commit Graph

13 Commits

Author SHA1 Message Date
JeremyWuuuuu
52e389a058
fix: form item instance was not destroyed (#6641)
- Fix but causing form item can still be validated
- Add test cases against this feature
2022-03-15 14:09:26 +08:00
JeremyWuuuuu
be0f72577b
fix(components): [el-form] Form not emitting validation result (#6610)
* fix(components): [el-form] Form not emitting validation result

- Refactor validate code to allow it to yield promise value
- Update tests accordingly

* fix: refactor

Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
2022-03-14 19:47:31 +08:00
三咲智子
eab6be93e7
refactor(docs): [form] improve docs and typings (#6447) 2022-03-07 13:37:13 +08:00
三咲智子
c72679e4e9
refactor(components)!: refactor form (#5401)
* refactor(components): refactor form

* refactor: resolve PR comments

* refactor(components): refactor isNested

* refactor: resolve PR comments
2022-03-06 22:20:56 +08:00
三咲智子
c1e5d724d8
refactor(utils-v2): refactor utils (#5699) 2022-02-09 16:59:08 +08:00
三咲智子
db1d9401fe
feat(components): [el-config-provider] add size (#4730) 2021-12-10 17:21:01 +08:00
C.Y.Kun
0832a55f89
refactor(components): refactor button (#4499) 2021-11-23 00:10:54 +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
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
三咲智子
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
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
SongWuKong
1fa381040e
fix(form): el-from/src/token.d.ts file miss (#2979) (#2988)
* fix(form): el-from/src/token.d.ts file miss (#2979)

* fix(form): el-from/src/token.d.ts file miss (#2979)

* fix(form): el-from/src/token.d.ts file miss (#2979)

Co-authored-by: imswk <925>
2021-08-26 14:18:57 +08:00
jeremywu
b0f4fc5f23
refactor: update package path and bundle folder (#3016) 2021-08-24 13:36:48 +08:00