mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 13:08:23 +08:00
fix(module: tree-select): removing last option can't change the bind values (#3314)
This commit is contained in:
parent
ec353de95f
commit
414d0d59a3
@ -454,10 +454,10 @@ namespace AntDesign
|
||||
return;
|
||||
}
|
||||
|
||||
if (!SelectOptionItems.Any())
|
||||
{
|
||||
return;
|
||||
}
|
||||
//if (!SelectOptionItems.Any())
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
|
||||
if (values == null)
|
||||
{
|
||||
|
@ -81,7 +81,7 @@ namespace AntDesign
|
||||
[Parameter] public bool ShowTreeLine { get; set; }
|
||||
|
||||
[Parameter] public bool ShowLeafIcon { get; set; }
|
||||
|
||||
|
||||
[Parameter] public IDictionary<string, object> TreeAttributes { get; set; }
|
||||
|
||||
[Parameter] public EventCallback<TreeEventArgs<TItem>> OnNodeLoadDelayAsync { get; set; }
|
||||
@ -467,7 +467,6 @@ namespace AntDesign
|
||||
if (_selectedValues?.Any() != true)
|
||||
{
|
||||
ClearOptions();
|
||||
return;
|
||||
}
|
||||
|
||||
CreateOptions(_selectedValues);
|
||||
|
Loading…
Reference in New Issue
Block a user