update canvas with changeprop in input #4585
tatan-pelaez
started this conversation in
General
Replies: 1 comment
-
Hi @tatan-pelaez I'm not sure if I understand properly your issue but if you encounter issues on the load of your custom component, be sure to load the JSON of your project, not the html/css https://grapesjs.com/docs/modules/Storage.html#project-data |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hello, good afternoon, what happens is that grapes is incorporated into my appweb to generate forms.
The thing is that I already created the form, I have a changeprop to an input to make automatic formulas between inputs. everything stores great, works fine
The problem occurs when I want to update that form, I already make the form appear on the canvas, but the changeprop does not take me to the input.
I have tried any number of things that occur to me, but I do not achieve anything, I appreciate a help
this is my DomComponents input
I store the form in mysql and in this way I incorporate it
editor.setComponents(htmlcss);
for the changeprop I only store this portion in mysql, which is the prop
var props = {"campos":{"stitle":""},"campos-2":{"stitle":""},"campos-3":{"stitle":"a+b"},"campos-4":{"stitle":""}};
thanks
Beta Was this translation helpful? Give feedback.
All reactions