We have moved to GitHub Issues
Created by David Peck 26 Apr 2018, 14:40:27 Updated by Sebastiaan Janssen 20 Aug 2018, 13:58:31Tags: PR
Relates to: U4-11574
Using the ModelsBuilder with the VS Custom Tool, a property of type Umbraco.Dropdown.Flexible is being returned as the type
object. I presume this is because the property value converter meta data has not been setup to state the type as string, but what do I know?
@david, this property editor is indeed missing a value converter. This has caught me out on a project that I'm working on so I've got a fix in progress.
PR submitted - https://github.com/umbraco/Umbraco-CMS/pull/2659
I didn't realize this at the time but it seems like that means the behavior changed between 7.11 and 7.12.
So from 7.12 on we get a string array back if you configure the datatype to have multiple values, in that case you will always need to do a foreach over the values (even if none or only 1 is selected). If you configure it to only allow a single value to be selected, you always get a string back.
Backwards Compatible: False
Affected versions: 7.10.3, 7.10.4
Due in version: 7.12.0