Bind Slider and TextBox each other

I would like the slider to set its value as text for the textbox after changing its value, and for the confirmation of the text entered in the textbox to change the slider value.

To avoid an event loop, I set a bind for the text of textbox that tracks the slider value, and in the graph editor for the textbox I set the OnCommited event → set slider value.

And it works, the only problem is that when I enter a number with a decimal point, confirmation results in rounding this number for the slider. Changing the Step Size does nothing. Also using " . " or " , " same result.
And when moving the slider, the value is normal float.

If anyone will be ever interested, I got around this by binding Hint Text instead of Text, and on clicking the slider resetting the TextBox value to empty to show the Hint Text, and on releasing the slider getting the slider value and setting it as the TextBox value

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.