appstract / nova-signature-field
A Laravel Nova field with Signature Pad
Installs: 5 565
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 4
Forks: 1
Open Issues: 3
Language:Vue
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-10-28 00:54:46 UTC
README
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.