Search code examples
reactjsantd

How to remove colons in Form.input antd design react?


Ant design always has colons after label in form input. Is it possible to remove that?

https://ant.design/components/form/#components-form-demo-layout

enter image description here


Solution

  • set colon prop for form tag to false

      <Form
        colon={false}
       >
    
      </Form>