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
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
9.0.0
Bug summary
General speaking I think there is not great support for switching property editor on an existing property. Often you'll need to remove the property and re-publish the content node or add the property as a new property with a different alias.
I checked if it was an issue in latest v8 as well, but I couldn't reproduce on a content node or in content of a block element.
First when I changed a numeric property on a block settings element type to a slider datatype, I got the same issue, which was the same scenario as when I reported this issue.
Which exact Umbraco version are you using? For example: 8.13.1 - don't just write v8
9.0.0
Bug summary
General speaking I think there is not great support for switching property editor on an existing property. Often you'll need to remove the property and re-publish the content node or add the property as a new property with a different alias.
E.g. if having an block settings property using Numeric datatype and switching property to a Slider datatype, it break here:
https://github.com/umbraco/Umbraco-CMS/blob/v9/contrib/src/Umbraco.Web.UI.Client/src/views/propertyeditors/slider/slider.controller.js#L49
This is due the value is stored as an numeric value, which hasn't a
split()
function.We could probably improve this a bit further using
Utilities.isString()
to check whether$scope.model.value
is a string and only split if it is otherwise fallback to null.https://github.com/umbraco/Umbraco-CMS/blob/v9/contrib/src/Umbraco.Web.UI.Client/src/utilities.js#L58
Specifics
No response
Steps to reproduce
Expected result / actual result
No response
The text was updated successfully, but these errors were encountered: