Is it an anti pattern to have two UI input element for the same value?

Does having two different UI elements for the same input value considered an anti pattern? Both inputs represent the same thing, changing the value of one will update the other.

For example, I wanted to have a slider that the user can select a numeric value from, and a dropdown that displays the value and make it also possible to change it.

slider with linked dropdown