Browser back button creates duplicated MarkDownEdit0r on page

I have a markdown editor on page within a wizard. If i start filing up the form, actually just open a form, and then navigate to another page via wire:navigate, then click Back button on browser, i get MarkDown editor duplicated. Here is code of relevant page:
return [
Wizard::make([
Wizard\Step::make('General')
->icon('heroicon-m-pencil')
->description('Have a good one')
->schema([
TextInput::make('title')
->helperText('Job title')
->hintIcon('heroicon-o-information-circle')
->required()
->rules('min:5')
->maxLength(255),
MarkdownEditor::make('description')
->disableToolbarButtons(['attachFiles'])
->helperText('The better you describe the better candidate will come')
->required(),
]),
return [
Wizard::make([
Wizard\Step::make('General')
->icon('heroicon-m-pencil')
->description('Have a good one')
->schema([
TextInput::make('title')
->helperText('Job title')
->hintIcon('heroicon-o-information-circle')
->required()
->rules('min:5')
->maxLength(255),
MarkdownEditor::make('description')
->disableToolbarButtons(['attachFiles'])
->helperText('The better you describe the better candidate will come')
->required(),
]),
Attaching a short video🐞 Just discovere, not happens with RIchEditor.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server