RichEditor showing "undefined" in view mode.

So I have a RichEditor form component and when looking at a resource in view, it shows as undefined, however displays regularly if editing.
Forms\Components\RichEditor::make('body')
->required()
->columnSpanFull(),
Forms\Components\RichEditor::make('body')
->required()
->columnSpanFull(),
Not quite sure what specifically is causing this difference, if anyone could help with this It would be great.
No description
No description
Solution:
Yes
Jump to solution
8 Replies
LeandroFerreira
What is the Filament version on the dashboard page?
Connor
ConnorOP2y ago
v3.0.0.0
LeandroFerreira
You should update Do you have ^3.0 in the composer.json?
Connor
ConnorOP2y ago
My composer.json has this configuration
"filament/filament": "3.0-stable",
"filament/forms": "3.0-stable",
"filament/notifications": "3.0-stable",
"filament/widgets": "3.0-stable",
"filament/filament": "3.0-stable",
"filament/forms": "3.0-stable",
"filament/notifications": "3.0-stable",
"filament/widgets": "3.0-stable",
I was unaware that It was set to this version specifically. Would you recommend changing to ^3.0?
LeandroFerreira
Yes, and run composer update
Connor
ConnorOP2y ago
Ok thanks for the help. I imagine I would do the same for each of the packages, forms, notifications etc?
Solution
LeandroFerreira
Yes
Connor
ConnorOP2y ago
That did the trick, thanks again!

Did you find this page helpful?