I have a <Form> which has layout="vertical" but inside this Form I want to set some items to have layout="horizontal".
I tried <Input.Group compact> which displayed <Form.Item> in the same row but I also want the label "TestLabel" of the <Form.Item> and <Input/> box in the single row.
<Form
layout="vertical"
size="medium"
>
<Input.Group compact>
<Form.Item label={product.productName + " : "} />
<Form.Item label={"TestLabel"} >
<Input />
</Form.Item>
</Input.Group>
</Form>
However "TestLabel" and Input box is aligned vertically but I want it horizontally aligned. I'm using React with Ant Design.