当Radcombobox不在项目列表中时,它会清除文本

tee*_*nup 5 wpf telerik radcombobox

我有一个telerik radcombobox如下:

<telerik:RadComboBox x:Name="cbCustomerName"
                                 Grid.Row="1"
                                 Grid.Column="1"
                                 Grid.ColumnSpan="3"
                                 Margin="0 0 0 10"
                                 DisplayMemberPath="FullName"
                                 IsEditable="True"
                                 IsFilteringEnabled="True"
                                 ItemsSource="{Binding Customers}"
                                 OpenDropDownOnFocus="True"
                                 SelectedValuePath="CustomerId"
                                 SelectionChanged="cbCustomerName_SelectionChanged"
                                 Text="{Binding CurrentCustomer.FullName,
                                                UpdateSourceTrigger=LostFocus}" />
Run Code Online (Sandbox Code Playgroud)

当我在文本框中键入不在其项目列表中的内容然后转到其他控件时,它会清除其中的文本,这是我不想要的.

我检查了所有属性,在失去焦点后找不到任何保留它的东西.

如果有人知道这个,请帮忙.

Fra*_*s P 0

您是否尝试过使用该AllowCustomText属性为真?