diff --git a/src/core/Elsa.Core/Metadata/ActivityPropertyUIHintResolver.cs b/src/core/Elsa.Core/Metadata/ActivityPropertyUIHintResolver.cs index cc668ed07..a26da1c6e 100644 --- a/src/core/Elsa.Core/Metadata/ActivityPropertyUIHintResolver.cs +++ b/src/core/Elsa.Core/Metadata/ActivityPropertyUIHintResolver.cs @@ -18,18 +18,18 @@ namespace Elsa.Metadata var type = activityPropertyInfo.PropertyType; if (type == typeof(bool) || type == typeof(bool?)) - return ActivityPropertyUIHints.Checkbox; + return ActivityInputUIHints.Checkbox; if (type == typeof(string)) - return ActivityPropertyUIHints.SingleLine; + return ActivityInputUIHints.SingleLine; if (typeof(IEnumerable).IsAssignableFrom(type)) - return ActivityPropertyUIHints.Dropdown; + return ActivityInputUIHints.Dropdown; if (type.IsEnum || type.IsNullableType() && type.GetTypeOfNullable().IsEnum) - return ActivityPropertyUIHints.Dropdown; + return ActivityInputUIHints.Dropdown; - return ActivityPropertyUIHints.SingleLine; + return ActivityInputUIHints.SingleLine; } } } \ No newline at end of file