Comments (2)
Hello. According to Antd docs you can use defaultValue
attribute not value
. Maybe Input
component handle changing state automatically (I don't see value
attribute in docs).
from antizer.
Did you look here? https://ant.design/components/input/
defaultValue | The initial input content | string |
...
value | The input content value | string
...
When Input is used in a Form.Item context, if the Form.Item has the id and options props defined then value, defaultValue, and id props of Input are automatically set.
--
So example looks correct for me.
from antizer.
Related Issues (20)
- layout-sider render twice on first load HOT 1
- Update antizer to ant 3.+ HOT 2
- v
- How to put html elements inside the antizer elements HOT 3
- Accessing things like Card.Meta HOT 5
- Add support for shadow-cljs HOT 4
- Add support for Fulcro
- Table scroll
- Example needed: Form Create inside Modal HOT 2
- Question regarding adapt-class implementation
- How to uncheck a Radio Button? HOT 1
- double icon when use shadow-cljs compile HOT 3
- `form.create`/`form-create` function missing HOT 1
- DescriptionList component missing HOT 1
- Table dataSource not being camel cased automatically HOT 2
- [BUG] input can not write the Chinese
- Support rum from v0.12.0 HOT 2
- Update antizer to antd 4.6.1-0
- How to implement filterDropdown from antd's Table component?
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 antizer.