Shiny multiplying graph whem click in textInput

I created a ggplot graph which given the choice in the textInput, updates the column to the x axis and the same to the y.
And I still use sharedData to display a dropdown menu with values from another column.

However, when I click on one of the textInputs, it duplicates the dropdown menu.

you know how to fix?

Hi there! It's a little difficult to answer this question without seeing your code. To help you get the right help for your question, can you please turn it into a reprex (reproducible example)? This will ensure we're all looking at the same data and code. A guide for creating a reprex can be found here.