Hi everyone, I'm having an issue with FilamentPHP's RichEditor component inside a Wizard form.
In my form, I have a RichEditor component inside different tabs (steps) of the wizard. The editor works fine in the first tab, but when I switch to the second or third tab, the RichEditor doesn't seem to load or function properly. Here's a simplified version of my form structure:
public static function form(Form $form): Form {
return $form->schema([
Forms\Components\Wizard::make()
->steps([
Forms\Components\Wizard\Step::make('Step 1')
->schema([
Forms\Components\RichEditor::make('description')
->label('Description')
->required(),
]),
Forms\Components\Wizard\Step::make('Step 2')
->schema([
Forms\Components\RichEditor::make('additional_info')
->label('Additional Info')
->required(),
]),
// Add more steps here...
]),
]);
}
0 Replies