I have a text input that shows the price of something and I would like to let the user change this field by editing it (typing directly) or by using a slider.
I added a condition to that input element, something like: initial content = slider’s value.
When I move the slider it works nice and smooth
However, when the user types a number to the input field directly, it stops being affected by the slider (I guess because it’s not an “initial content” anymore.)
Anyone knows how can I let the user edit the text input by dragging a slider and typing directly to it?