Commit Graph

79 Commits

Author SHA1 Message Date
zombiej
b5fc19632b merge master 2018-12-26 14:23:40 +08:00
zombieJ
bf087e29bd
Add remark lint (#13906)
support remark-lint check
2018-12-26 14:14:00 +08:00
zombiej
f65fb2867f add options.preserve of form 2018-12-21 23:58:31 +08:00
afc163
b1a67de35e
Merge branch 'master' into feature
* master:
  📝 fix demo order
  Fixes #10576 (#13703)
  doc: update form & layout docs (#13701)
  update doc close #11802
  🐛 Fix Badge offset not working when count is ReactNode
2018-12-19 12:09:12 +08:00
huishiyi
dd30678033 doc: update form & layout docs (#13701)
* doc: remove duplicate setFields in form doc-US

* doc: fix layout doc collapsedWidth default
2018-12-19 10:56:44 +08:00
zombiej
83b449b1ff set form id on demo
fix #10218
2018-12-17 10:02:08 +08:00
ztplz
3d2799bb7f Fix typo 2018-11-14 17:31:01 +08:00
Phanupong Janthapoon
0e29194668 update misspelling on index.en-US.md (#12280)
On the line 158, the words "can not" are likely in a wrong construction for this sentence. It would be better to use "cannot" in this context.
2018-09-18 12:38:26 +08:00
afc163
9d5920b39d doc: remove old usage instruction 2018-09-14 11:31:53 +08:00
afc163
b70360e95a doc: improve form API documentation 2018-09-12 22:16:53 +08:00
afc163
2952a8625b site: remove old version hint of API 2018-09-12 21:43:01 +08:00
Tomás Francisco
7d38f8f435 improve form types and docs (#11932) 2018-08-29 11:20:33 +08:00
afc163
d88a8f6920 docs: Add instruction about validateFields arguments, close #11084 2018-06-29 11:57:26 +08:00
muzea
126bb42ddd remove deprecated prop 2018-06-21 13:49:00 +08:00
muzea
2ce3ffd6f4 fix punctuation 2018-06-21 13:49:00 +08:00
muzea
904fd0a358 form add how to get wrappedComponent's ref 2018-06-21 13:49:00 +08:00
konakona
6c0d6d302a Add feature: can use type ReactNode for message of rules (#10136) (#10395)
* Add feature: can use type ReactNode for message of rules (#10136)

* fix: Replace React.Fragment to span

* Add unit test for Form (Not passed)

* fix: unit test of Form

* fix: unit test of Form & remove demo

* fix: update unit test for Form

* Refine code for Form

* Add error check for getHelpMessage
2018-05-08 14:00:00 +08:00
Wu Haotian
4ea20e696c fix(form): fix typing for Form.onValuesChange (#10231) 2018-04-24 23:33:58 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
Wei Zhu
9a022b8aac docs: Update FormComponentProps import path 2017-12-19 14:30:56 +08:00
afc163
cd5761ffe6 update form doc 2017-12-13 10:50:03 +08:00
Wei Zhu
4aeb811b72
Remove deprecations (#8351) 2017-11-30 09:53:32 +08:00
Benjy Cui
ac463a10f2 deps: upgrade form to 2.0.0 (#8207) 2017-11-17 21:19:10 +08:00
afc163
bf36ebdf5e Merge branch 'master' into antd-3.0 2017-11-13 21:24:32 +08:00
Benjy Cui
16133aac65 docs: add validateMessage for createForm, close: #965 2017-11-13 10:36:16 +08:00
afc163
4999a60643 update form demo 2017-11-10 17:19:47 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Ffloriel
6d4e531775 form typo (#7794)
- remove to from 'shouldn't to use' and 'shouldn't to call'
2017-10-01 19:37:37 +08:00
Graeme Yeates
47e3cedf86 Minor fixes for select and form en docs (#7769)
* Fix headers on form validateFields [ci skip]

* Include default as an option for select sizes [ci skip]
2017-09-29 10:54:37 +08:00
LeezQ
6954c3506c docs: add typescript demo (#7330)
* feat: add typescript demo

add form typescript demo code

* Update index.zh-CN.md

* add TypeScript demo code

add TypeScript demo code

* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2017-09-01 10:36:31 +08:00
Tao
62b72d6c51 modify 参数 to 方法 (#7294)
* modify `参数` to `方法`

* modify `Property` to `Method`

* dummy copy-paste
2017-08-23 13:25:44 +08:00
Benjy Cui
2268418a97 docs: add docs for validateFields, close: ##7287 2017-08-23 11:13:01 +08:00
afc163
fcb935b101 improve form doc 2017-08-19 12:12:57 +08:00
Benjy Cui
02daedd67b docs: add missing doc for Form, close: #6959 2017-08-08 10:10:47 +08:00
Benjy Cui
8e496966cf docs: update docs for Form 2017-07-26 09:04:01 +08:00
afc163
e6554e7edb update form document 2017-07-16 15:05:48 +08:00
Benjy Cui
11626decfe chore: update docs for Form.Item and fix edge case, close: #6113 2017-05-15 11:31:48 +08:00
afc163
93ec71ea58 fix whitespace required, close #5418 2017-03-21 15:21:40 +08:00
afc163
a5b47f9e49 update form docs 2017-03-10 19:26:43 +08:00
afc163
6bca3ba87f clean up document 2017-03-07 22:38:01 +08:00
afc163
cd2c027d89 docs: Add API document for Form validation rule
close #5201, ref #5155
2017-03-07 22:35:45 +08:00
Benjy Cui
fb8f90c102 feat: form (#5063)
* feat: support Form[layout], close: #5056

* feat: Form should be responsive, close: #5055

* test: update snapshot

* fix: resolve conflict betwen layout defaultValue and inline & vertical
2017-03-02 10:49:06 +08:00
Benjy Cui
184c4f5af7 docs: update docs for Form, ref: #4093 2017-02-14 10:29:06 +08:00
Benjy Cui
c88cdc60ce docs: update docs for form, close: #4802 2017-02-09 14:50:25 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Penghan Wang
8a412ae260 doc: improve document for Form validateFields (#4730) 2017-01-27 10:39:09 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
偏右
6e3565b983 Add Form[hideRequiredMark] (#4500)
* Add Form[hideRequiredMark]

* omit hideRequiredMark

* Add test case for Form[hideRequiredMark]
2017-01-13 21:52:48 +08:00
Hans Chan
927581bb84 docs: add property colon for Form.Item (#4505)
* docs: 修改错别字

* docs: add property `colon` for Form.Item

`colon` is available since 2.0.0-beta.1
2017-01-13 18:05:24 +08:00
Benjy Cui
3fa5d10da3 Merge branch 'master' into feature-2.7 2017-01-10 10:50:40 +08:00