HansSchouten / Laravel-Pagebuilder

A drag and drop pagebuilder to manage pages in any Laravel project
https://www.phpagebuilder.com
MIT License
799 stars 184 forks source link

Html Element Go To Blank When Change Setting Value #71

Open aditya-wiguna opened 3 years ago

aditya-wiguna commented 3 years ago

the html element is blank when i change the setting value , i use laravel 6 and php 7.4

from this Capture1

to this Capture2

aditya-wiguna commented 3 years ago

and also i got error in console log

Uncaught TypeError: Cannot read property 'attributes' of null at app.js:1 at window.runScriptsOfComponentAndChildren (app.js:1) at Object.success (app.js:1) at c (jquery-3.4.1.min.js:2) at Object.fireWith [as resolveWith] (jquery-3.4.1.min.js:2) at l (jquery-3.4.1.min.js:2) at XMLHttpRequest. (jquery-3.4.1.min.js:2)

image

HansSchouten commented 3 years ago

Can you share the php snippet of your theme block? I don't know what the issue is, haven't seen it before.

aditya-wiguna commented 3 years ago

this is my block https://pastebin.com/m6wUjgwp

this is my config file https://pastebin.com/2CC0MPBj

And this is my layout code https://pastebin.com/x0dy6fXc

HansSchouten commented 3 years ago

Strange, for me it works exactly as expected. I can change the value and it gets updated. Updating client does not change anything, because your block uses the other setting. But I don't see any errors.

Are you using the latest version?

aditya-wiguna commented 3 years ago

yes i use the lates version

aditya-wiguna commented 3 years ago

i try to change layout with sample demo , and still get same error