-
Notifications
You must be signed in to change notification settings - Fork 901
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Field Tinymce didn´t inizialize in repeatable if there is another one somewhere in the form #4318
Comments
Hello there! Thanks for opening your first issue on this repo! Just a heads-up: Here at Backpack we use Github Issues only for tracking bugs. Talk about new features is also acceptable. This helps a lot in keeping our focus on improving Backpack. If you issue is not a bug/feature, please help us out by closing the issue yourself and posting in the appropriate medium (see below). If you're not sure where it fits, it's ok, a community member will probably reply to help you with that. Backpack communication channels:
Please keep in mind Backpack offers no official / paid support. Whatever help you receive here, on Gitter, Slack or Stackoverflow is thanks to our awesome awesome community members, who give up some of their time to help their peers. If you want to join our community, just start pitching in. We take pride in being a welcoming bunch. Thank you! -- |
Hello @SebastianCordiano ! Thanks for the report. I was indeed able to reproduce your issue and already submitted a PR to fix it. I will let you know as soon as it gets merged, it should not take much. Once again, thanks and sorry for the bad experience 🙏 Cheers |
Merged and tagged. A |
The problem is still here. I'm using backpack/pro:2.2.17 PHP VERSION:8.3.6 PHP EXTENSIONS:Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection, session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, wddx, xmlreader, xmlwriter, mbstring, igbinary, openssl, sockets, Phar, curl, LARAVEL VERSION:10.48.22.0 BACKPACK PACKAGE VERSIONS:backpack/backupmanager: v5.0.5 |
Bug report
What I did
Insert 2 field in my create/update operation, the first one a simple tinymce and the second one a repeatble with a tinymce inside
What I expected to happen
All the tinymce works
What happened
Only the first field initialize correctly and in console the error is: "Uncaught TypeError: o is undefined"
It s seems to be the function "initializeFieldsWithJavascript" that launch only once "bpFieldInitTinyMceElement" (that initialize the tinymce js)
Is it a bug in the latest version of Backpack?
Yes
After I run
composer update backpack/crud
the bug... is it still there?yes
Backpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:PHP VERSION:
PHP 8.1.4 (cli) (built: Apr 4 2022 13:30:33) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.4, Copyright (c) Zend Technologies
with Zend OPcache v8.1.4, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v9.5.1@35be2599c9ac3d58bf1578895c2e85ea4848a0d7
BACKPACK VERSION:
5.0.11@337163b7e9a0e63413474bd3ee800a198f83c8e9
The text was updated successfully, but these errors were encountered: