mikebronner / nova-prepopulate-searchable

A tool to allow BelongsTo searchable fields to be pre-populated with data
MIT License
37 stars 21 forks source link

Preview Link #24

Closed jacobzlogar closed 3 years ago

jacobzlogar commented 4 years ago

This PR allows users to display a link to a selected resource's detail view.

Why not make another package?

BelongsTo form fields benefit most from this change, since this package replaces nova's BelongsTo form field vue component it seemed logical to try and incorporate preview link functionality here.

Usage

    BelongsTo::make("Archive")
        ->searchable()
        ->prepopulate()
        ->previewLink(),
Screen Shot 2020-10-19 at 3 01 44 PM