Textfield with burtton

I wonder if there is some component (widget, extension) that adds a button to a textfield. Clicking on this button, the user selects a row in a table and the ID of the choice return to the Textfield of th the original form.

Gostaria de saber se existe algum componente que adicione um botão a um Textfield. Ao clicar neste formulário, o usuário escolhe uma linha de uma tabela e o ID dessa escolha retornaria para o Textfield do formulário original.