Comments (4)
You mean the one with the row?
from meteor-react-form.
Thanks for your reply.
In your example don't use custom field
<MRF.Form
collection={Posts}
type="insert"
ref="form"
onSuccess={(docId) => FlowRouter.go('posts.update', { postId: docId })}
/>
<RaisedButton label="Create" onTouchTap={() => this.refs.form.submit()}/>
I would like
<MRF.Form
collection={Posts}
type="insert"
ref="form"
onSuccess={(docId) => FlowRouter.go('posts.update', { postId: docId })}
/>
<RaisedButton label="Create" onTouchTap={() => this.refs.form.submit()}>
..................................
........................
<Text..........>
</MRF.Form>
I could?
from meteor-react-form.
Yes you can.
<MRF.Form
collection={Events}
type='update'
ref='form'
doc={this.props.event}
>
<div className='row'>
<div className='col-xs-12 col-sm-6'>
<MRF.Field fieldName='data.name' />
<MRF.Field fieldName='data.date' />
<MRF.Field fieldName='data.description' />
</div>
<div className='col-xs-12 col-sm-6'>
<MRF.Field fieldName='data.salesSystemId' />
<MRF.Field fieldName='data.placeId' />
<MRF.Field fieldName='data.enterpriseId' />
<MRF.Field fieldName='data.isCDC' />
</div>
</div>
</MRF.Form>
from meteor-react-form.
Thanks, should be clear in docs.
from meteor-react-form.
Related Issues (12)
- Meteor 1.3 support? HOT 10
- Add support for astronomy
- Create a sample app HOT 4
- Create all basic input types
- Import files server side HOT 2
- Define mrf simple-schema options server side too HOT 1
- Default date format HOT 1
- Support with array type of schema (add more form)? HOT 2
- Correct doc on "Posts.attachSchema(new SimpleSchema(......))" HOT 3
- Get error when use Form! HOT 5
- Error: Invalid definition for body field HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-react-form.