otp-input-vue icon indicating copy to clipboard operation
otp-input-vue copied to clipboard

[Bug]: plus and minus sign bugs

Open ipunpun opened this issue 3 years ago • 2 comments

Contact Details

No response

What happened?

When typing the “number” input fields with + or - sign, bugs happened (on all browsers).

Can those sign be removed automatically when type is number while typing ? Thanks

What is your browser that you see the problem on?

Chrome

ipunpun avatar Nov 03 '22 15:11 ipunpun

Hi, Thank you for using and announcement about issue,I will working on it and resolve the issue. @RtthLvr

shahriarEshraghi avatar Nov 03 '22 17:11 shahriarEshraghi

I’m able to get it properly working by directly change <input type="number"> value by adding this line

this.$refs.digitInput[index].value = first === null || first === undefined ? '' : first

before this line

this.inputValue[index] = first === null || first === undefined ? '' : first

and issue is gone

ipunpun avatar Nov 03 '22 19:11 ipunpun