Skip to content

Tag: antd

ReactJs – Ant design Tabs Card does not render content

My components used ReactJs Framework that built with Ant Design UI. My stucking is the rendering on tabs content. I try to nest the LoginForm component to TabsCard component. Note: the LoginForm component can successful independently rendered without nesting case. Component rendered on image I attachted: Here…

why the createRef current always null in react

I am developing a simple edit app page, because the form.item initial value did not update by data, so I want to setFieldsValue in the antd 4.x, this is my code looks like: To my surprise, the formRef.current is always null. Am I missing something? what should I do to make the Form.Item value update by data w…

Using sass with Antd and CRA

I am trying to integrate SASS with antd and CRA. I followed many tutorials but most of them were created years back and all of them throw some error. Somehow I found an article which is working fine link But I am worried that above solution is a hacky way of integrating SASS, so some day it may stop working.