Forum
Inconsistency with Repeaters/Blocks
Hey,
One of the most frustrating things my users find with Perch, is using Repeaters and Blocks. Some of the issues that seem to appear:
- Asset drag and drop doesn't activate when adding a new item within a repeater (might be specific for repeaters inside blocks)
- Text block SimpleMDE not initiating when it's within a repeater (just an empty textbox appears)
- Now and then when a repeater is within block sometimes the add an item button has no text
Using latest Perch Runway:
Perch Runway: 3.1.3, PHP: 7.2.8, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: 38fea24f2847fa7519001be390c98ae0acafe387 $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.1.3), assets (3.1.3), categories (3.1.3), perch_blog (5.6.1)
App runtimes: <?php $apps_list = [ 'perch_blog' ];
PERCH_LOGINPATH: /admin
PERCH_PATH: /admin
PERCH_CORE: /admin/core
PERCH_RESFILEPATH: /admin/resources
Image manipulation: GD
PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M
F1: 3b606135b33e6a102526838f4152a807
Resource folder writeable: Yes
HTTP_HOST: site.localhost
DOCUMENT_ROOT: /
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
It's super frustrating to populate a few repeaters and then trying to drag and drop, as the image loads in the browser and all the content is lost.
If I can help at all, please let me know!
Ryan.
Yes!
10.10.6738d5d5f5664f7c5e34.js:formatted:920 Uncaught TypeError: Cannot read property 'indexOf' of undefined at y (10.10.6738d5d5f5664f7c5e34.js:formatted:920) at HTMLDivElement.<anonymous> (10.10.6738d5d5f5664f7c5e34.js:formatted:822) at Function.each (vendor.6738d5d5f5664f7c5e34.js:2) at me.fn.init.each (vendor.6738d5d5f5664f7c5e34.js:2) at m (10.10.6738d5d5f5664f7c5e34.js:formatted:818) at 10.10.6738d5d5f5664f7c5e34.js:formatted:1126 at dispatch (vendor.6738d5d5f5664f7c5e34.js:3) at v.handle (vendor.6738d5d5f5664f7c5e34.js:3) at Object.trigger (vendor.6738d5d5f5664f7c5e34.js:4) at vendor.6738d5d5f5664f7c5e34.js:4
To recreate, drag and drop an item to an asset field within blocks or a repeater, then add another block/item.