LookupGrid: show value when only one value is selected, if new value is added in multiselect, select it automatically

This commit is contained in:
Jonathan Jenne
2021-03-17 13:38:27 +01:00
parent 64137a297c
commit d5b677ae07
9 changed files with 31 additions and 35 deletions

View File

@@ -159,7 +159,7 @@ Public Class RepositoryItemLookupControl3
Case 0
NullText = _R.GetString("LookupControl_NoRecords")
Case 1
NullText = _R.GetString("LookupControl_OneRecord")
NullText = Values.FirstOrDefault()
Case Else
NullText = String.Format(_R.GetString("LookupControl_NRecords"), Values.Count)
End Select