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

form example? #1

Open
willmkt opened this issue Sep 28, 2018 · 3 comments
Open

form example? #1

willmkt opened this issue Sep 28, 2018 · 3 comments

Comments

@willmkt
Copy link

willmkt commented Sep 28, 2018

Can you give a form example?

Thanks.

@yassilah
Copy link
Owner

hi! i'll try to put some example soon, but for now you can look inside your vendor/nova/resources/js/views/[Update|Create].vue files (which are used as mixins by default) to see what the current forms look like and which methods/data you'd like to use. but this plugin simply redirects the regular update/create routes to your custom form component so you're free to do whatever you want, make whatever API calls you want. in my case, this was very useful to have one complex form that handles multiple deeply nested relationships with a custom design.

@willmkt
Copy link
Author

willmkt commented Sep 29, 2018

Hi @yassipad it would be good to be able to edit the index and detail page.

Another thing would be to automatic generate some nova boilerblate, and would be awesome to be able to publish custom forms and views with the nova generated code, so we could edit just what we want.

Thanks!

@sabid
Copy link

sabid commented Oct 24, 2018

Help, with a simple example.

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

3 participants