$rawState Error with RichEditor
Hi, I have a problem with my RichEditor.
I use a relationship in my model form and when I save it without changing the text in the RichEditor than I get this error:
Filament\Forms\Components\RichEditor::Filament\Forms\Components{closure}(): Argument #2 ($rawState) must be of type ?array, string given, called in /vendor/filament/support/src/Concerns/EvaluatesClosures.php on line 36
I found some work arounds but they didn't work.
https://github.com/filamentphp/filament/issues/17472
GitHub
[v4.x] Error on testing a RichEditor component · Issue #17472 · f...
Package filament/forms Package Version v4.0.3 Laravel Version v12.25.0 Livewire Version v3.6.4 PHP Version 8.4.11 Problem description On testing a RichEditor component I get the following error: Fi...
1 Reply
OMG. I found another workaround now.
EditCoach.php (In Resource)
Form field