I am building my own context menu and am replacing copy / cut / paste functionality. I have copy and paste working but I cannot paste arbitrary text into an input of type 'number'.
I am setting the value using javascript similiar to below
document.getElementById('input').value = 'some text';
Whenever type is of number, the text is lost and the input is left blank.
Can I set the input to a string? The system paste allows this, but the input seems to parse the input and fail.
textsince you can also place numbers into that. If there is more too this or a reason why you neednumberlet me know.