I have an input where users can enter a price. When the user presses a number key, I want to prepend whatever they type with a '£' sign.
Like this but visible in the input field, not just bound to a data property:
// empty
£1 // first keydown
£12
£125
Example: https://jsfiddle.net/Daniel_Knights/6xn12tj9/6/
Any ideas how to achieve this? Tried a few things but I'm stumped.