vue-number-format icon indicating copy to clipboard operation
vue-number-format copied to clipboard

prevent inputting beyond precision limit

Open Ahmed-Alsalim opened this issue 1 year ago • 1 comments

Is it possible to prevent typing after reaching the precision limit just like how it's currently preventing typing any decimal number if precision=0 ? current behavior is that it removes any extra digits on blur not on input.

Ahmed-Alsalim avatar Nov 27 '23 07:11 Ahmed-Alsalim

#60 ~~this worked for me in both vue 2 & 3. can you check it out.~~ actually it just work for inputting manually. for setting a number with more digits than precision with pasting or setting in script rounding does not work

Ahmed-Alsalim avatar Nov 27 '23 11:11 Ahmed-Alsalim

Not planned

dipaksarkar avatar Jan 28 '25 16:01 dipaksarkar