Makes combobox work with pasted texts. (#13214).

Change-Id: I74db581d7aae1278024db4e5ed8e3a3b3abc56be