I’m trying to build a nice List using UIBuilder, so far so good.
Using the example on Creating your First Integration | Umbraco UI Builder I have an Avatar Model with an AvatarImage property that is a string
, and in my configuration I’ve set it as a Media Picker instead of an File Upload: .AddField(p => p.AvatarImage).SetDataType("Media Picker")
However when using EntityPicker and selecting a created entity, it automatically gets mapped to my Avatar model, great!
However, it’s a string instead of a MediaWithCrops (because thats how it’s defined on the model). How can I fix this? I could not find anything specific on this in the documenation. Do I need to create my own PropertyValueConverters for this ?