I have an input textbox like this but I want to append % at the end of any value that was input into it at the end
<input type="text" digitsOnly/>
So if 50 was put in 50% would display
I tried adding a ::after
with content: "%"
in the styles but nothing appears at the end of the input. I also tried adding % at the end of my input but it is displaying outside the textbox when I want it to be inside right after the value.
I tried:
<input type="text" digitsOnly/> %