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.
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 themailto:
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 afindOrCreate()
on the model. There will also be a "View" button that takes you to the Nova Resoruce for the Email Address.