mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2025-12-06 08:59:00 +08:00
fix(module: select): When the Select component is in multiple selection mode, it throws an exception: “Value cannot be null.” #4708 (#4709)
This commit is contained in:
@@ -361,7 +361,7 @@ namespace AntDesign
|
||||
}
|
||||
}
|
||||
|
||||
if (_isNotifyFieldChanged && Form?.ValidateOnChange == true)
|
||||
if (_isNotifyFieldChanged && Form?.ValidateOnChange == true && FieldIdentifier is { Model: not null, FieldName: not null })
|
||||
{
|
||||
EditContext?.NotifyFieldChanged(FieldIdentifier);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user