Closed noahlocke closed 1 year ago
the base64 of the signature should being saved into your database
Got it, fixed on my end! Thank you for clarifying!
@noahlocke are you able to store the signature to your database if yes please tell me how to do it??
@abhi051002 it was a stupid mistake on my end, forgot to add 'signature'
to the the $fillable
array on the User.php
model:
protected $fillable = [
'name',
'email',
'password',
'signature'
];
What happened?
Maybe I'm missing something, but is the intention that the signature will persist in the database? Not seeing this behavior. If I draw a signature and save the form, nothing is written and the signature is lost if I refresh the page...
How to reproduce the bug
Install
filament-autograph
, addSignaturePad::make('signature')
to resource form, draw signature & save resource.Package Version
3.0
PHP Version
8.2
Laravel Version
10.0
Which operating systems does with happen with?
No response
Notes
No response