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

Custom fields #62

Closed
lionel-bijaoui opened this issue Sep 1, 2016 · 2 comments
Closed

Custom fields #62

lionel-bijaoui opened this issue Sep 1, 2016 · 2 comments
Labels
Milestone

Comments

@lionel-bijaoui
Copy link
Member

In the doc, it say that custom fields are "coming soon". It is something very interesting.

Can you share your progress on that feature ?
Can I help you on that ?

@icebob
Copy link
Member

icebob commented Sep 1, 2016

Need to create an example on webpackbin. Just webpackbin is not working properly.

The idea:

You create a custom field component. E.g.: fieldAwesome. And if you register this component globally with Vue.component("fieldAwesome", FieldAwesome); than you can use it in your schema like:

{
    type: "awesome",
    label: "My aweseom field",
    model: "awesome"
}

@icebob
Copy link
Member

icebob commented Sep 2, 2016

#65
It's working, just needed a reference to abstractField for mixins

@icebob icebob added this to the v0.4.1 milestone Sep 2, 2016
@icebob icebob closed this as completed Sep 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants