Comments (4)
Why do you want to set boolean
value to be object
value?
from field-form.
use antd
's Table
as example
there is a form to config component props, and loading
can be boolean
or object
, if we set loading
as true
firstly to make it work, and then we set more advanced poperties to control it.
from field-form.
Hmmm... in Form usage, it may not good to change field value type. rc-field-form
removed lodash/fp/set
to reduce bundle size. And use rc-util
instead. Could you help to check whether it works now.
If not, welcome pr to rc-util
.
ref: https://github.com/react-component/util/blob/master/src/utils/set.ts
from field-form.
fixed
from field-form.
Related Issues (20)
- validator校验无法输出'${example}'
- antd的form的shouldUpdate执行了validator没有执行 HOT 1
- 表单rule增加一个groupId选项
- 关于静默校验的需求 HOT 8
- How to detect if form was submitted with hooks?
- <Form/> cannot submitted via ‘action’ property
- listContext 造成useWatch 失效
- setFieldsValue 后getFieldsValue会获取到非 form结构的数据(After using setFieldsValue, calling getFieldsValue will retrieve the values, including those that are not part of the form structure.)
- No FormInstance method types
- Field > change key with resetCount
- Allow dynamic namePath in useWatch
- Website not working
- 希望能在registerWatch的回调函数中带出触发值改变的triggerName
- remove 删除有误
- Reset form validation HOT 1
- Demo website occur some error HOT 1
- Vite.js 5 unknown comment `/*#__PURE__*/` info HOT 4
- field-form/src/utils /asyncUtil.ts 中逻辑缺陷
- The `form.setFields` is causing the warning: "Warning: There may be circular references" HOT 1
- isFieldsTouched逻辑缺陷
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from field-form.