A cascader with loadData in form cannot show complete initialValue .only first level.
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.6.4
Environment
…
Reproduction link
Steps to reproduce
{getFieldDecorator("position", {
rules: [{ required: true, message: "位置不能为空!" }]
initialValue: [
detailInfo ? detailInfo.building.buildingId : "",
detailInfo ? detailInfo.floor.ordinal : ""
]
})(
<Cascader
options={buildingOptions}
onChange={onChange}
style={{ width: "95%" }}
placeholder="请选择"
loadData={this.onLoadData}
/>
)}
</FormItem>
What is expected?
can show initialValue normal
What is actually happening?
only first level data
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Setting initialValue on Form.Item wrapping a Cascader throws ...
So when you set the initial value as a string, label is a string and you cannot call .join() function on a string....
Read more >Cascader - Ant Design
Cascade selection box. ... Chooses cascade items in one float layer for better user experience. ... Note: loadData cannot work with showSearch ....
Read more >Beginning Django_ Web Application Development and ...
Read the latest magazines about Beginning Django_ Web Application Development and Deployment with Python ( PDFDrive ) and discover magazines ...
Read more >C# Interview Q - A Boo | PDF - Scribd
Now lets look at the client which will consume this DLL. I have just added windows form and a button to the same....
Read more >.NET Interview questions - PDFCOFFEE.COM
reading through the whole book just look at what questions you feel uncomfortable and ... Can you show a simple code showing file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
here is an online reproduction https://codesandbox.io/s/91v45j068r
@afc163 reopen plz
+1 Having the exact same issue.