Hey! So I had the same problem and solved it by modifying the original spin box! Hope this helps!
https://forums.unrealengine.com/development-discussion/content-creation/1641116-creating-an-integer-spin-box-for-widget