Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/Extensions/IEditorItemExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ private static bool IsVisible(this IEditorItem item, ItemChangedType changedType
/// <returns></returns>
public static bool CanWrite(this IEditorItem item, Type modelType)
{
return modelType == typeof(DynamicObject) || modelType.IsSubclassOf(typeof(DynamicObject)) || ComplexCanWrite();
return typeof(IDynamicObject).IsAssignableFrom(modelType) || ComplexCanWrite();

bool ComplexCanWrite()
{
Expand Down
Loading