How do i update element properties by plugin in builder #142
Unanswered
Tim-Wapenaar-Fenetre
asked this question in
Questions
Replies: 0 comments
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.
-
Im passing some settings to the builder component which I want to use as default for elements. I would guess a good place for that would be by a plugin.
In the next example, i want to set the
accept
property of the fileElement with my list of allowed file type.But this does not update those properties.
And trying to set the value with
props.accept.value = formSettings.allowedFileTypes
results in acannot set a readonly property
warningBeta Was this translation helpful? Give feedback.
All reactions