-
-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to set "horizontal, vertical" form of "ant form"? #207
Comments
Hey @thearabbit, i think it is not handled yet. Do you want to make a pull request? |
Also, let's call the author: @Gervwyk. |
It is not handled yet. I agree with @janowsiany , |
Thanks for all reply, waiting... |
Could example? I tried, but don't work render() {
const formItemLayout = {
labelCol: {span: 6},
wrapperCol: {span: 14},
};
return (
<div>
<h2>Welcome to Meteor with Ant Design!</h2>
<AutoForm
schema={PostSchema}
showInlineError={true}
onSubmitSuccess={() => alert('Success!')}
onSubmit={doc => console.log(doc)}
>
<AutoField name="category" {...formItemLayout}/>
<AutoField name="authors" {...formItemLayout}/>
<DateField name="publishedDate" showTime={false} format="DD/MM/YYYY" {...formItemLayout}/>
<DateRangeField
name="publishedRangeDate"
showTime={false}
{...formItemLayout}
/>
<AutoField name="published" {...formItemLayout}/>
<SubmitField type="primary"/>
</AutoForm>
</div>
);
} Please help me. |
It's not released yet. |
Oh, Thanks I will try again. |
Have problem with "BoolField" Warning: Unknown props `labelCol`, `wrapperCol` on <span> tag. Remove these props from the element |
Yep, that's a bug. We'll get to it soon. |
how to set "horizontal, vertical" form of "ant form"?
The text was updated successfully, but these errors were encountered: