Here is what I am aiming to achieve :
A input which will contain text such as "100%", "54vh", or "32px".
I am trying to make use of the number input's up and down arrows, but I want the user to still be able to modify the text inside. It should not be able to add if it does not recognize a %, vh, or px symbol in front of it.
---------------
| 54px | ^ |
| | v |
---------------