(video demo) Strange form behaviour in chrome and ff under linux
Under linux but i think is the same on other os
I have a form that uses a template to pre-fill the email message (rich text editor). This functionality was working perfectly until recently. I typically update the project with "composer update" before implementing new code changes. Could something in the latest update be causing this issue?
It works if i write something in the richeditor before the template selection
look at the video
13 Replies
with a regular 'Textarea' it wworks.. but i need the richeditor
no one?
The video ins't viewable
ah sorry, try now
Can you try:
php artisan filament:upgrade
nothing to upgrade
rancesco@cactus:~/PDev/rpspro> dart filament:upgrade
⇂ public/js/filament/forms/components/color-picker.js
⇂ public/js/filament/forms/components/date-time-picker.js
⇂ public/js/filament/forms/components/file-upload.js
⇂ public/js/filament/forms/components/key-value.js
⇂ public/js/filament/forms/components/markdown-editor.js
⇂ public/js/filament/forms/components/rich-editor.js
⇂ public/js/filament/forms/components/select.js
⇂ public/js/filament/forms/components/tags-input.js
⇂ public/js/filament/forms/components/textarea.js
⇂ public/js/filament/tables/components/table.js
⇂ public/js/filament/widgets/components/chart.js
⇂ public/js/filament/widgets/components/stats-overview/stat/chart.js
⇂ public/js/app/components/apexcharts.js
⇂ public/js/filament/filament/app.js
⇂ public/js/filament/filament/echo.js
⇂ public/js/filament/notifications/notifications.js
⇂ public/js/filament/support/async-alpine.js
⇂ public/js/filament/support/support.js
⇂ public/js/heloufir/filament-kanban/filament-kanban-sortable.js
⇂ public/css/filament/forms/forms.css
⇂ public/css/filament/support/support.css
⇂ public/css/heloufir/filament-kanban/filament-kanban.css
⇂ public/css/filament/filament/app.css
INFO Successfully published assets!
INFO Configuration cache cleared successfully.
INFO Route cache cleared successfully.
INFO Compiled views cleared successfully.
INFO Successfully upgraded!
⇂ public/js/filament/forms/components/date-time-picker.js
⇂ public/js/filament/forms/components/file-upload.js
⇂ public/js/filament/forms/components/key-value.js
⇂ public/js/filament/forms/components/markdown-editor.js
⇂ public/js/filament/forms/components/rich-editor.js
⇂ public/js/filament/forms/components/select.js
⇂ public/js/filament/forms/components/tags-input.js
⇂ public/js/filament/forms/components/textarea.js
⇂ public/js/filament/tables/components/table.js
⇂ public/js/filament/widgets/components/chart.js
⇂ public/js/filament/widgets/components/stats-overview/stat/chart.js
⇂ public/js/app/components/apexcharts.js
⇂ public/js/filament/filament/app.js
⇂ public/js/filament/filament/echo.js
⇂ public/js/filament/notifications/notifications.js
⇂ public/js/filament/support/async-alpine.js
⇂ public/js/filament/support/support.js
⇂ public/js/heloufir/filament-kanban/filament-kanban-sortable.js
⇂ public/css/filament/forms/forms.css
⇂ public/css/filament/support/support.css
⇂ public/css/heloufir/filament-kanban/filament-kanban.css
⇂ public/css/filament/filament/app.css
INFO Successfully published assets!
INFO Configuration cache cleared successfully.
INFO Route cache cleared successfully.
INFO Compiled views cleared successfully.
INFO Successfully upgraded!
please provide: php artisan about
and then also see what your console shows.
today works!
i think is this fix https://github.com/filamentphp/filament/pull/11979
GitHub
Fix: Rich editor not displaying data when changing languages by col...
Description
closes #11880
The value of the editor is now captured before the nextTick callback as a local variable so that state changes work properly
Code style
composer cs command has been run....
@Soundmit @toeknee
I have a RichEditor inside a Builder. It seems that the behavior you described is fixed when I use the RichEditor outside of the builder (I copy content from another field to the RichEditor), but when inside the Builder, it is not showing the changes. But they are saved in the field.
This code is extracting the HTML and creates a Builder Block:
The next code is fired from a hintAction:
Can I update or refresh the Builder somehow?
I beleive dan's PR fixed it here:
https://github.com/filamentphp/filament/commit/b108e14b4b512ec0bede124bb22a75a3c14907ca
Can you try the latest release? Since a fix was added with fixing rich editor loading states @Daniel Plomp
Yes, I did installed it yesterday and it now seems to work. At first not, but maybe some caching thing.