Hey there, I've got a question about
# package-development
a
Hey there, I've got a question about creating my own Property Editor. I assume that
Copy code
"propertyEditorSchemaAlias": "Umbraco.Plain.String"
is responsible for defining the value type of Property Editor input. My question is how can I create my own more complex types like objects? Another question, when models are generated automatically This
Copy code
"propertyEditorSchemaAlias": "Umbraco.Plain.String"
is gonna create property in backend model of type string =>
Copy code
public virtual string SuggestionTest => this.Value<string>(_publishedValueFallback, "suggestionTest");
which in my case seems accurate. But what if i was able to create the type
Copy code
"Umbraco.MyObjectHere"
, how backed model would know which type to generate in here
Copy code
this.Value<MyObjectHere>(_publishedValueFallback, "suggestionTest");
?
2 Views