Skip to content

Commit 933f766

Browse files
committed
Merge branch 'bugfix/AttributeDescriptor.ModelType' into develop
Fixes a bug in which the `ModelType` could not be dynamically assigned based on the current attribute values, as is required for e.g. the `TopicListAttributeDescriptor` and the `TokenizedTopicListAttributeDescriptor` in the OnTopic Editor.
2 parents ae00cfe + a827e8d commit 933f766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OnTopic/Metadata/AttributeDescriptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public AttributeDescriptor(
9090
/// reduces these down into a single type based on how they're exposed in the Topic Library, not based on how they're
9191
/// exposed in the editor.
9292
/// </remarks>
93-
public ModelType ModelType { get; protected init; } = ModelType.ScalarValue;
93+
public virtual ModelType ModelType { get; protected init; } = ModelType.ScalarValue;
9494

9595
/*==========================================================================================================================
9696
| PROPERTY: EDITOR TYPE

0 commit comments

Comments
 (0)