LookupGrid: dont skip updating values when list of values is empty
This commit is contained in:
parent
f3f6599fc0
commit
9bcd8d0c81
@ -148,7 +148,7 @@ Public Class RepositoryItemLookupControl3
|
||||
End Sub
|
||||
|
||||
Private Sub UpdateSelectedValues(Values As List(Of String))
|
||||
If Values Is Nothing OrElse Values.Count = 0 Then
|
||||
If Values Is Nothing Then
|
||||
Exit Sub
|
||||
End If
|
||||
|
||||
@ -157,7 +157,7 @@ Public Class RepositoryItemLookupControl3
|
||||
If MultiSelect = True Then
|
||||
Select Case Values.Count
|
||||
Case 0
|
||||
NullText = _R.GetString("LookupControl_NoRecords")
|
||||
NullText = String.Empty
|
||||
Case 1
|
||||
NullText = Values.FirstOrDefault()
|
||||
Case Else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user