Skip to content

Custom Nova Field #59

Description

@drewroberts

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions