Data table search for multiple tables

I would like to implement a data table, showing data based on user’s input for table name. I used the Test Table template.

I added a input field to allow users to input the table name.

Hi. Could you make your question more narrow.
What exactly doesn’t work as you expect? (or examples of your logic, which you think, work wrong, or something else which point to the problem)