Fix extra characters for hidden password in EditableCombobox RTL UI.

This CL pulls the code that retrieves the item text in a new function;
that's the function we call to set the text in the textfield when we
select an item.
The addition of unicode characters for RTL UI adjustment is only
done in the GetLabelAt function.

Bug: 964881
Change-Id: I9525973d72a20d25efb9a73a729b78fdfaf1822c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1619827
Commit-Queue: Edin Kadric <edinkadric@google.com>
Reviewed-by: Michael Wasserman <msw@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661475}
1 file changed