I am stuck on implementing dynamic form submit. Here is my code. I am receiving data from backend And trying to show that data to user in Collapse, and in collapse there are 2 forms (first one is for date, second one for money) that user can edit. Also I have add button which allow user to add new collapse
Tag: ant-design-pro
How can I set the size of icons in Ant Design?
So when I’m using an Icon in Ant Design it is always 14 * 14 px. Is there a way to set the size maually? Things like or do not work Answer Can change the size of the icon using fontSize style property. eg: use of style={{ fontSize: ‘150%’}}
Async form field validation in ant design
How to validate form fields asynchronously in ant design? function call How to show the error message from api response? As api call takes some time to complete at that time the validation function call get executed completely before api request complete. So how can i show the error message? Answer You’re missing await before validateZipcode and async before handlezipCodeChange: