Commit Graph

133 Commits

Author SHA1 Message Date
偏右
4f2ef2a355
🐛 Fix Form throw error when using BraftEditor (#21425)
component.props.onChange should not run when it is falsy

close #21415
2020-02-18 15:38:00 +08:00
二货机器人
68d5e2c8ef
omit validateFirst (#21329) 2020-02-10 21:55:55 +08:00
二货机器人
ad51283a9d
fix: Form.Item init status should also check help (#21211)
* fix: Form.Item init status should also check help

* clean up
2020-02-04 14:43:12 +08:00
Belikov Ivan
3a7235679b
fix: Form.Item name 0 processing (#21186)
* fix Form.Item name `0` processing

* Test coverage for `null`
2020-02-03 17:54:33 +08:00
二货机器人
207fc03c91
fix: Form.Item with name 0 should be validate (#21179)
* fix FormItem missing name

* update test case
2020-02-02 22:28:05 +08:00
二货机器人
074fa324b6
fix: FormItem required not work without name (#21168) 2020-02-01 20:09:29 +08:00
二货机器人
ee6f63f2e1
chore: Fix TS define of FormItem (#21067) 2020-01-22 11:33:35 +08:00
二货机器人
bfcd00a67b
fix: Form.Item ignore help = '' (#21026)
* help should support empty text

* test case
2020-01-20 16:09:59 +08:00
二货机器人
b67a1bee7d
fix: Form.Item keep render even it's not a Field (#20963)
* Not use Field when Form.Item is pure

* Add test case

* clean up

* add delay update for test
2020-01-17 11:50:06 +08:00
二货机器人
40d9627554
chore: Warning when FormItem use render props and name at same time (#20733) 2020-01-07 19:17:51 +08:00
二货机器人
17dd0d2de8
fix: FormItem should not trigger feedback className without hasFeedback (#20691) 2020-01-06 15:02:04 +08:00
叶枫
4adc4df3e6 fix: form item array children interface (#20577)
* Update Form.tsx

* Update Form.tsx

* fix: fix formItem array children interface

* fix: array

* feat: test
2020-01-01 20:07:09 +08:00
capdiem
91e342355c 🐛 fix: Fix that types of property 'children' are incompatible (#20554) 2019-12-31 20:21:30 +08:00
二货机器人
dd86ae251c
fix: Should also set className with customize help (#20489)
* add test case

* update snapshot

* update snapshot
2019-12-27 16:50:44 +08:00
二货机器人
92e5107ef8
fix: required support dynamic updated rules (#20207) 2019-12-12 12:05:59 +08:00
二货机器人
ae88fdeabd
feat: Warning invalidate element when using name. (#20191) 2019-12-11 16:08:59 +08:00
叶枫
6a70d31f1c feat: export FormItemProps (#20089) 2019-12-05 11:19:27 +08:00
zombiej
d76283f2b9 merge master 2019-12-01 21:46:17 +08:00
zombiej
1d516d7f7f merge feature 2019-12-01 15:29:53 +08:00
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing (#19833) 2019-11-20 17:31:11 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
诸岳
8f52b8028b chore: Merge master branch and fix conflicts 2019-11-11 10:10:53 +08:00
Amumu
f38c7bb239 form item passing anyother attrs (#19599) 2019-11-06 23:30:41 +08:00
yoyo837
715814291b remove labelAlign: PropTypes.string, 2019-11-04 16:48:44 +08:00
yoyo837
c1d55addf1 Revert "remove labelAlign: PropTypes.string"
This reverts commit 764960875d.
2019-11-04 13:05:02 +08:00
yoyo837
764960875d remove labelAlign: PropTypes.string 2019-11-04 13:01:50 +08:00
Amumu
3402f656ad tuple FormLabelAlign (#19543) 2019-11-04 11:24:23 +08:00
afc163
760853e239 💄 eslint for all 2019-08-14 18:21:24 +08:00
orzyyyy
47fd80c8ad fix: disable next line instead of the whole file 2019-08-06 15:36:13 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
shao
27e7e33d12 fix review change 2019-07-31 11:12:31 +08:00
shao
f0726014c3 fix(Form.Item): fix label replace regexp err replace 2019-07-30 20:57:39 +08:00
zombieJ
779bc5f56a
rename (#17729) 2019-07-19 14:07:39 +08:00
jeessy2
49973c8df2 Update FormItem typescript definition (#17703) 2019-07-18 12:29:23 +08:00
zombieJ
b3a76c14ca
feat: Form support scrollToField (#17457)
* support scroll & label htmlFor

* update snapshot

* add test case

* doc update

* add decleare

* adjust logic of label id

* clean ts error
2019-07-04 15:00:11 +08:00
zombieJ
4cdf37bedb
feat: New Form (#17327)
* init form

* first demo

* add normal login

* add style

* webit

* support nest errors

* beauti form errors

* use onReset

* modal demo

* add list demo

* match key of errors logic

* date demo

* customize component

* moving style

* add status style

* without form create

* add demos

* add inline style

* clean up legacy

* fix drawer demo

* mention

* fix edit-row

* editable table cell

* update mentions demo

* fix some test case

* fix upload test

* fix lint

* part of doc

* fix ts

* doc update

* rm react 15

* rm config

* enhance test coverage

* clean up

* fix FormItem context pass logic

* add more demo

* en to build

* update demo

* update demo & snapshot

* more doc

* update list doc

* update doc

* update demo to display condition render

* update snapshot

* add provider doc

* support configProvider

* more doc about validateMessages

* more description

* more and more doc

* fix typo

* en doc

* Form.List doc

* m v3 -> v4

* add skip
2019-07-03 20:14:39 +08:00
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo (#17247)
* update bisheng

* support lang panel

* display tabs if multiple lang

* rm tmp file
2019-06-23 12:49:28 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item (#16072)
* labelAlign should work in Form.Item

* add Form & Form.Item

* rename type
2019-04-15 12:10:04 +08:00
afc163
69140e7d59
bug(Form): switch should be trigger by form label
close #15549
2019-04-08 11:11:34 +08:00
Hsuan Lee
baa5a7971f refactor(form-item): move ant-form-item-no-colon selector position (#15592)
* refactor(form-item): better `ant-form-item-no-colon` selector position

fix: fix lint

close #15585

* chore: update snap
2019-03-24 17:03:52 +08:00
愚道
a4f73ff64e chore: sync master to feature 2019-03-08 15:21:36 +08:00
DiamondYuan
5b162897a8 feat: support props colon of Form 2019-03-08 11:25:37 +08:00
yoyo837
5281d7b7f2 add labelAlign for Form and FormItem 2019-03-07 15:14:27 +08:00
zombieJ
2f6b367137
fix form warning (#15160)
* fix form warning

* update snapshot
2019-03-04 14:51:40 +08:00
zombiej
6f95995faa merge master 2019-02-27 19:57:48 +08:00
zombieJ
4d1a998246
add component param in warning (#15078)
* add component param in warning

* update snapshot
2019-02-27 15:32:29 +08:00
zombieJ
1fc8dd3042
Form support labelCol & wrapperCol props. (#15038)
* use context

* update doc

* update doc

* not pass context if nest

* update snapshot

* update doc

* update doc
2019-02-25 19:04:09 +08:00
afc163
924e8e4b83 🐛 should not print warning for not generating help and validateStatus automatically when help or validateStatus is specified
close #14911
2019-02-23 16:35:52 +08:00