List property in Python Add-on

I used the property “List <Ref <Component >>” for selecting multiple components in the Python Add-on plug-in I defined, but when I click the component through the box selection function shown in Figure 1 to exit the function Panel, as shown in Figure 2, but selecting a component by “+” will not exit the function Panel.

How to resolve this situation?

I think the pick action cancels any other action, which includes your Python command/wizard. Finding a workaround is unlikely.

You could report this as a bug to VC support.