Skip to content

appstract/nova-signature-field

Repository files navigation

Nova Signature Field

Latest Version on Packagist Total Downloads Software License

Add a Signature Pad field to Nova.

Installation

You can install the package via composer:

composer require appstract/nova-signature-field

Usage

Just add the field to your resource.

use Appstract\NovaSignatureField\Signature;

public function fields(Request $request)
{
    return [
        Signature::make('Drawing')
    ];
}

It is also possible to pass some options to field:

// Edit in a modal, so the SignaturePad is bigger
Signature::make('Drawing')->editInModal()

// Full width image on detail, without label
Signature::make('Drawing')->fullWidthOnDetail()

Contributing

Contributions are welcome, thanks to y'all :)

About Appstract

Appstract is a small team from The Netherlands. We create (open source) tools for Web Developers and write about related subjects on Medium. You can follow us on Twitter, buy us a beer or support us on Patreon.

License

The MIT License (MIT). Please see License File for more information.