I have been using this in a bunch of places in my current deck, and I have somehow managed to break it?
It suddenly fails to update the text when you click the buttons. If I switch modes, from interact to widgets and back, then it updates to the correct value, so the value property is clearly still working, it's just the display part that isn't.
I tried repasting in the widget from the post, in case I'd some how munged it while skimming the prototype code for ideas, but it's still not working. I had something like this happen once before and it was only temporary, I think I fixed it by just quitting without save and reloading the deck, but whatever i did was enough saves and commits back as to make no difference now.
EDIT: Figured it out. The internal slider in 'enum' has no default script, but if you go opening its script, Decker helpfully adds an empty "change" event from the default template for sliders ... for reasons I don't entirely think I understand, this breaks the prototype. Manually deleting that "change" script fixes it again. 🤷🏼♀️