Replies: 2 comments
-
anyone can help with this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It should work by updating the component .then((result) => {
// ...
this.set({ form: form.id });
}) |
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, how are you?
I have a trait called form, which is made up of a list of forms that come from my backend, when dragging my component to the canvas a modal (from sweetalert2) opens, when the person selects the form and clicks on "ok" I I would need to update the form trait, which in turn would update the form property (I'm using changeProp:true) which in turn emits a change:form which is where all my code happens.
The problem is: I tried to update the trait in every way, it even shows that the trait is updated, but visually it does not update the select, nor does it emit the event.
I managed to trigger the change:form manually, but I feel like it's not like that, I need to update the trait and it does the rest of the cascading effect.
CleanShot.2023-12-26.at.10.47.11.mp4
Beta Was this translation helpful? Give feedback.
All reactions