F
Filament15mo ago
Connor

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
LeandroFerreira15mo ago
What is the Filament version on the dashboard page?
Connor
ConnorOP15mo ago
v3.0.0.0
LeandroFerreira
LeandroFerreira15mo ago
You should update Do you have ^3.0 in the composer.json?
Connor
ConnorOP15mo 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
LeandroFerreira15mo ago
Yes, and run composer update
Connor
ConnorOP15mo ago
Ok thanks for the help. I imagine I would do the same for each of the packages, forms, notifications etc?
Solution
LeandroFerreira
LeandroFerreira15mo ago
Yes
Connor
ConnorOP15mo ago
That did the trick, thanks again!

Did you find this page helpful?