二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
C. T. Lin
853a04ddce
fix: exporting Rule, FormListFieldData, FormListOperation from form ( #34735 )
2 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
二货机器人
beeaf2d221
docs: More info about useWatch ( #35039 )
* docs: more about useWatch
* test: Update test case
* docs: more info
* docs: more & more
* feat: add useFormInstance
* chore: add version info
3 years ago
二货机器人
b62e409ad5
feat: Form support useWatch ( #35036 )
* feat: Support useWatch
* test: update test case
* chore: update snapshot
3 years ago
Olivier Louvignes
93f2988585
chore: add FormListProps export in form/index.tsx ( #26831 )
4 years ago
偏右
481fd209e2
chore: 🆙 upgrade typescript-eslint ( #26600 )
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* chore: 🆙 upgrade typescript-eslint
* fix some lint
* fix: some eslint errors
* Update package.json
* fix no use before define
* Update package.json
* fix lint
Co-authored-by: yoyo837 <yoyo837@hotmail.com>
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
二货机器人
1faabb219d
feat: Form.List support rules ( #26676 )
* Add ErrorList component
* move class to ErrorList
* support cache of status
* update doc
* update snapshot
* patch test case
* clean up
* docs: add faq
4 years ago
Artem
d8d48487b0
chore: export RuleObject and RuleRender types from Form ( #24541 )
* Fix Table type
* Add: export RuleObject and RuleRender
Co-authored-by: soroka_av <soroka_av@st.by>
5 years ago
二货机器人
2e284aa017
chore: small bundle size ( #24135 )
* update warning
* rm warning
* replace with dev warning
* fix test
* fix site
* Update webpack.config.js
Co-authored-by: 偏右 <afc163@gmail.com>
* Update webpack.config.js
* fix sytax
* adjust
* move into function
Co-authored-by: 偏右 <afc163@gmail.com>
5 years ago
二货机器人
a90aa25b1b
chore: Export Rule interface ( #21411 )
5 years ago
Hami Abdi
d70637edba
feat: Add Min-Width Style Variables for Switch Component ( #20829 )
* chore: Export form typescript interface
* Feat -- Min-Width Style Variables for Switch Component
Implementation of feature request from @LuisRodriguezLD
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
zombiej
3a1c51010f
chore: Export form typescript interface
5 years ago
二货机器人
e3126ab20d
chore: Add warning when use remove function ( #20527 )
5 years ago
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
5 years ago
zombieJ
340ff711ab
chore: Support TypeScript & JavaScript with Demo ( #17247 )
* update bisheng
* support lang panel
* display tabs if multiple lang
* rm tmp file
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
ChaXinyu
14e2a56b75
export components interface ( #7654 )
* export components interface
* export specific props
* fix formItem missed import
7 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
yiminghe
3d9ae9833e
fix form warning
9 years ago
yiminghe
9a0d751f94
refactor to typescript
9 years ago
afc163
96fd67ded0
remove old compatibility code
9 years ago
Benjy Cui
c8015c88c3
feat: scroll to invalid field automatically #993
9 years ago
yiminghe
f5cb207e7c
fix FormItem
9 years ago
Benjy Cui
d8201c2752
feat: add createForm to Form
9 years ago
afc163
7eb2f5b58a
Add support for degrade usage of form
9 years ago
afc163
184e378e79
move col row input into indepent dirctories, remove antd.ButtonGroup
9 years ago
SimaQ
8f72f6cdcf
将 formItem 布局样式相关的属性写法同 layout 组件属性结合。
9 years ago
SimaQ
5bb37f7033
form 组建
9 years ago
SimaQ
6689011357
feat: Form modularization.
9 years ago