How to reset a Spinbox number?

I feel pretty dumb but how to do that?

User set a number in the spinbox.

This number is too high / low.

Reset the displayed Spinbox number to a certain value (for instance, the last valid value).

The screenshot does not work. I’ve tried with a switch on Commit Method, or trying to use the “On Value Changed”, no way.

Do you have a Bind on value?

No, I never use bind for that kind of stuff. Pretty much only for trace or to check the mouse position.

Hm, does event even fire? Do a print on if

This is the result from a brand new project / GameMode / PC, just in case:

Here’s the code:

Video is unavailable

Hm, works fine for me, can you send UI file?

Here we are:

I just notice something I’ve never tried: it works with the slider.
(In my previous case, I disable the slider part because I don’t want that feature).
But it still does not work upon entering a new value + pressing Enter.

Enter doesn’t work for me too, feels like a bug.

Here’s a workaround:

1 Like

I’m glad I was not crazy (and a bit sad this looks like a bug).
Thanks for the answer!