Sketchpad
CommunityA simple package that provides you with a sketchpad field.
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Author:
Valentin Morice
Documentation
A simple package that provides you with a sketchpad field in Filament
#Installation
You can install the package via composer:
composer require valentin-morice/filament-sketchpad
#Usage
The filament-sketchpad plugin works as any other Filament Form Builder class. Make sure the column on which it is called is cast to JSON.
public static function form(Form $form): Form
{
return $form
->schema([
FilamentSketchpad::make('example'),
]);
}
#Set the height
FilamentSketchpad::make('example')->height(int 400|Closure); // in px
NOTE: All standard injected utilities are available in your closure.
Thanks to http://yiom.github.io/sketchpad/ for the JS.
#License
The MIT License (MIT). Please see License File for more information.
The author
From the same author
Featured Plugins
A selection of plugins curated by the Filament team
Custom Dashboards
Let your users build and share their own dashboards with a drag-and-drop interface. Define your data sources in PHP and let them do the rest.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission