-
Notifications
You must be signed in to change notification settings - Fork 33
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 Index and Detail View #10
Comments
You can change the vue component that will be looped ->detailItemComponent('some-component'); These are the props to accept resource, resourceName, resourceId, field
^ Have to register the component to the vue instance Nova uses |
Ah nice. Didn't know that. Thanks a lot! closing 👍 |
Thanks for the tip. I wanted to modify the index field and you didn't define a ->indexItemComponent() meta method to allow us to easily override However I remembered that you can simply override the original component if you use the exact same name so I did that: asset.js
IndexField.vue
And it works : ) |
In editing view input text controls could be replaced by select controls ? |
Would be nice if there was a possibility to easily overwrite how data is displayed.
Or is there some easy way I don't see? :)
The text was updated successfully, but these errors were encountered: