I just found out that by using the search results, using the carriage return or double-clicking on it, the result displayed in the dialog box is wrong.
Please see the picture below
the code after Remove space, can solve the problem when typing, but lost the function of triggering the double-click event, It seems that this is the only way
Please see the picture below
the code after Remove space, can solve the problem when typing, but lost the function of triggering the double-click event, It seems that this is the only way