'Select' in multi select is not hiding

'Select' in multi select is not hiding

I have a form where I choose one item in multi-select based on that it checks the input to another form iteratively and if it finds one it will return the next value to the next multi-select field.

It is doing all this purpose but not showing the found value automatically. Only -Select and the item come. Then you have to go to the multi select and choose the only item.

Could you please, tell me how the item can be shown automatically.

Shahid