Commit Graph

48 Commits

Author SHA1 Message Date
TimChen
75d0d4c569 feat(module: form): add ValidateOnChange parameter (#920)
* feat: autoValidate

* refactor

* fix comments

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-12-25 12:51:55 +08:00
Zonciu Liang
d11dad8a45 feat(module: form): make the form validator customizable (#841)
* feat(module: form): make the form validator customizable

* docs: simplify form custom validators demo

* modify the demo

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-12-01 19:07:14 +08:00
TimChen
7ae4c559be feat(module: form): simplify ColLayout (#830) 2020-11-27 16:41:26 +08:00
James Yeung
ab1d3cc2b1 chore: sync ant-design v4.8.4 (#792) 2020-11-16 22:44:31 +08:00
James Yeung
93c85d54dc chore: sync ant-design v4.8.2 (#770) 2020-11-15 17:03:30 +08:00
James Yeung
4f250e11e9 fix(module: input): value wouldn't change while input blur in inputting compositionally (#751) 2020-11-01 16:06:16 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
老九
6b1875c83c refactor: use single RequiredAttribute in PropertyReflector (#722) 2020-10-25 19:03:58 +08:00
James Yeung
3fb5998d19 chore: sync ant-design v4.7.0 (#675) 2020-10-14 13:31:22 +08:00
James Yeung
5aa5f8cedf chore: sync ant-design v4.6.6 (#648) 2020-09-28 16:07:59 +08:00
James Yeung
bd34858efd feat: support for globalization & localization (#578)
* feat: add locale

* feat: add locale interfaces

* fix: add locale interfaces for components

* fix: use local classes instead of interfaces

* feat: implement the locale provider

* feat: make some components to support localization

* fix: default language

* fix: test

* chore: remove the useless reference
2020-09-07 22:46:50 +08:00
James Yeung
a4e4d6f556 refactor: get PropertyInfo from expression (#559) 2020-09-01 17:23:31 +08:00
James Yeung
91b6e0efcc chore: sync ant-design v4.6.0 (#524) 2020-08-23 16:06:08 +08:00
James Yeung
13ee3634a0 chore: sync ant-design v4.5.4 (#499) 2020-08-13 06:43:07 +08:00
James Yeung
c18d61df72 chore: sync ant-design v4.5.3 (#480) 2020-08-10 11:28:52 +08:00
James Yeung
378e8370b0 fix(module: form): null check for submit (#448) 2020-08-02 16:34:34 +08:00
James Yeung
4c4f9b085c chore: sync ant-design v4.5.1 (#433) 2020-08-02 15:13:53 +08:00
James Yeung
1f76b2afc5 fix(module: checkbox): default value binding (#437)
* fix(module: checkbox): default value binding

* fix: default value for select-group
2020-07-30 23:54:31 +08:00
TimChen
1e02c38d97 fix(module: form): OnFinishEvent is null (#407) 2020-07-22 16:58:47 +08:00
笨木头
78abff551d feat(module: form): add form-context demo, support FormProvider (#362)
* feat(module: form): add form-context demo, support FormProvider

* refactor: remove debug code

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-16 08:56:15 +08:00
zxyao
503415ea07 feat(module: form): add Required paramater (#353) 2020-07-13 20:37:06 +08:00
笨木头
0da743fab2 feat(module: form): add complex form control (#349)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-13 12:26:09 +08:00
RVS
04166ba276 feat(module: form): add IsModified property (#327)
* feat: is form modified property and method exposed
subject: new method for form context, Is form modified

* fix: interface and doc

Co-authored-by: Ratomir Vukadin <ratomirvu@maestralsolutions.com>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-12 00:17:02 +08:00
笨木头
7d9d6fc89d fix(module: form): value not change when model change (#333)
* feat(module: datepicker): support nullable type

* fix(module: cascader): displaytext did not change when bind-value change

* fix(module: form): can not change layout

* docs(module: form): add 'new model' test button

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-11 23:03:13 +08:00
James Yeung
60ac146ba8 chore: sync ant-design v4.4.1 (#314) 2020-07-06 14:12:11 +08:00
James Yeung
2de927a0d1 refactor: reduce dependence (#301) 2020-07-03 13:37:40 +08:00
James Yeung
30dc4db99b chore: sync ant-design v4.4.0 (#277) 2020-07-01 21:38:23 +08:00
笨木头
4a4dfcbd87 refactor(module: form): optimize performance (#284)
* refactor(module: form): optimize performance

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-30 22:32:36 +08:00
TimChen
e1884c90b6 fix: performance improvements for forms (#245) 2020-06-25 19:23:16 +08:00
James Yeung
840137bedc feat(module: form): add validate method to form (#217) 2020-06-11 23:11:55 +08:00
TimChen
f22f572880 feat: form supports loading state (#202) 2020-06-10 19:13:09 +08:00
笨木头
78a08fbd3d feat(module: input components): support set size by form (#191)
* feat(module: input components): support set size by form

* fix: rebase conflict

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-07 00:47:18 +08:00
笨木头
c3fc31c9b0 fix: input component bug (#182) 2020-06-03 20:29:28 +08:00
笨木头
f29ca64372 feat(module: checkbox): support form (#161) 2020-06-02 20:27:53 +08:00
James Yeung
0b75473db0 refactor: remove the form item dependency (#171) 2020-06-02 07:28:06 +08:00
笨木头
c3b0b114e6 feat: add form(basic features) (#168)
* feat: add form(not complete yet)

* feat: add form(basic)

* refactor: change namespace

* feat(module: form): add onFinish, onFinishFailed, reset

* feat(module: form): add layout demo

* feat(module: form): update doc

* refactor: basic form

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-01 14:09:28 +08:00
James Yeung
8a2fdd5e06 chore: sync ant-design v4.3.0 (#169) 2020-05-31 16:00:40 +08:00
James Yeung
374929d16d chore: sync ant-design v4.1.5 (#84) 2020-04-26 10:41:53 +08:00
James Yeung
16df332a65 chore: sync ant-design v4.1.3 (#73) 2020-04-13 23:11:08 +08:00
James Yeung
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
James Yeung
510a3f8c80 chore: sync ant-design v4.1.1 (#65) 2020-04-06 17:35:04 +08:00
James Yeung
e4253622bd chore: sync ant-design v4.1.0 (#58) 2020-03-30 09:53:10 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +08:00
James Yeung
7c92f8eb14 chore: sync ant-design v4.0.3 (#23) 2020-03-16 12:37:25 +08:00
James Yeung
7e0a6ffc36 chore: sync ant-design v4.0.2 (#4) 2020-03-09 00:09:32 +08:00
James Yeung
84ca70e8b7 chore: sync ant-design v4.0.1 (#2)
fixed #1
2020-03-08 15:12:21 +08:00
ElderJames
47b2b86265 add gulp to complie less 2020-03-07 16:40:38 +08:00
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00