You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each setting type can have it's own user interface. So a string can use a text box but a more complicated JSON structure can use a more appropriate user interface.
Maybe you could use JSON.stringify if the value is a object?
Cheers!
// Markus
The text was updated successfully, but these errors were encountered:
enkelmedia
changed the title
Store complex value from Property Editor UI
Store complex Provider Settings- value from Property Editor UI
Dec 16, 2024
enkelmedia
changed the title
Store complex Provider Settings- value from Property Editor UI
Store complex Provider Settings-value from Property Editor UI
Dec 16, 2024
I'm working on a WorkflowType with a setting where I would like to reuse an existing PropertyEditorUI-component.
In older versions of Umbraco Forms I could send a JSON value to the server to be stored as a string-property.
I'm trying to get this to work on v15.0.3 and I'm getting this error when the properties are validated:
It's probably an error from the model binder, since the value is a object and not just a string.
I've tried a couple of things:
SupportsHtml
-option but that did not work.List<MyType>
(the stored value is an array). Did not work but would be really cool if it was supported.Is there a way around this or would I have to create propertyEditorUi specifically Umbraco Forms?
The docs indicates that this should work:
Maybe you could use
JSON.stringify
if the value is a object?Cheers!
// Markus
The text was updated successfully, but these errors were encountered: