TIPOFF / authorization

Laravel Package for opinionated authorization style
MIT License
0 stars 1 forks source link

Custom Nova Field #59

Open drewroberts opened 3 years ago

drewroberts commented 3 years ago

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.

drewroberts commented 3 years ago

@tipoff/omnia