Skip to content
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

Docs #2

Open
Drillibit opened this issue Dec 13, 2018 · 5 comments
Open

Docs #2

Drillibit opened this issue Dec 13, 2018 · 5 comments

Comments

@Drillibit
Copy link

import {CreateForm} from 'mandarina' import '/app/lib/tables/Post' export default ()=> <CreatePostForm table={Post}/>
Is there a typo in the docs. Or that's the way it's suppose to be.
I was using it in this way <CreateForm table={Post}/>.

@Drillibit
Copy link
Author

On the table-constructor page there is a 'where' field in the docs that defines where fieldDefinition: Object is described?

@Drillibit
Copy link
Author

DeleteForm has not been implemented yet?

@cesarve77
Copy link
Owner

DeleteForm his not done yet.

@cesarve77
Copy link
Owner

'where' definition:
if you open http://locahost:8000 you are able to see a graphql console.
here you can search the where shape for each table

@cesarve77
Copy link
Owner

I see the docs ok

`import React from 'react'
import {CreateForm} from 'mandarina-antd'
import Post from '../Post'

const CreatPostForm=()=>`

Where Post is a table e.g.
Post=new Table({.....})
In you app you should implement in this way
<CreatePostForm/>
o directly it just an example, for easy cases like this, directly is ok, when the this comes bigger, with more properties than just table maybe is better like the example in the docs

you can add me in skype, cesarve2 if you see i'm not answering fast (at australia working hours)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants