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 Nova Field #59

Open
drewroberts opened this issue Mar 21, 2021 · 1 comment
Open

Custom Nova Field #59

drewroberts opened this issue Mar 21, 2021 · 1 comment
Assignees

Comments

@drewroberts
Copy link
Member

For the packages that have Nova Resources for models that will now have a relationship with Email Address, I do not want to use the typical "BelongsTo" nova field (https://nova.laravel.com/docs/3.0/resources/relationships.html#belongsto) and instead would like to use a new Custom Nova Field that is similar to the Email field I've been using:

Let's call the field EmailAddress and it should display the email address from the Email Address model and be clickable using the mailto: HTML link. There should be a button next to it for "Change" if the User has edit Permissions and it will accept an email address and run a findOrCreate() on the model. There will also be a "View" button that takes you to the Nova Resoruce for the Email Address.

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