The Form RichEditor doesn't clear the text after "Create & Create Another" is clicked.
Expected behavior
None
Steps to reproduce
This repo will go over the Forms\Components\RichEditor::make('') bug.
This problem only occurs when(the packages of composer and npm are update to the lastest) and the individual has changed the MarkdownEditor to RichEditor and switches the "Create Post" method to the slideover action.
(This problem will be set on the post section on the demo website)
When using the RichEditor for slideover to create a post; after filling the form out on the demo. When the person clicks the "Create & Create Another" button. The text in RichEditor will stay after the button is clicked.
Screenshots
Before:
Look at the title on the table
After:
The text doesn't clear after the "Create & Create Another" button
Last problem to the bug; if you copy and paste the text in the same place then save, it will not save into the post.
Package
filament/forms
Package Version
v3.2.86
Laravel Version
v11.10.0
Livewire Version
v3.5.0
PHP Version
8.3.8
Problem description
The Form RichEditor doesn't clear the text after "Create & Create Another" is clicked.
Expected behavior
None
Steps to reproduce
This repo will go over the Forms\Components\RichEditor::make('') bug.
This problem only occurs when(the packages of composer and npm are update to the lastest) and the individual has changed the MarkdownEditor to RichEditor and switches the "Create Post" method to the slideover action.
to create the bug
slideover:
Replace MarkdownEditor with RichEditor:
You must comment out the "'create' => Pages\CreatePost::route('/create'),":
(This problem will be set on the post section on the demo website) When using the RichEditor for slideover to create a post; after filling the form out on the demo. When the person clicks the "Create & Create Another" button. The text in RichEditor will stay after the button is clicked.
After: The text doesn't clear after the "Create & Create Another" button
Last problem to the bug; if you copy and paste the text in the same place then save, it will not save into the post.
Reproduction repository
https://github.com/datboimech/filament-RichEditor-bug
Relevant log output
No response
Donate 💰 to fund this issue