Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

groupSeparator on el-input didn't work as expected

Open yuniit opened this issue 2 years ago • 7 comments

every time groupSeparator appears cursor position return back to previous value Here my codepen

[email protected] [email protected] [email protected]

yuniit avatar Jun 09 '22 09:06 yuniit

@yuniit ,

I guess it is some interference with the element-plus.

Adding the noValuePatching: true option in the inputmask solves the issue.

Maybe you can also try without the element-plus, if that also works then we can investigate more to see why.

RobinHerbots avatar Jun 10 '22 09:06 RobinHerbots

@RobinHerbots Thanks for the fast response. everything is working fine now with noValuePatching: true

yuniit avatar Jun 11 '22 00:06 yuniit

HI @RobinHerbots autoValue + noValuePatching make value reversed on focus.

https://user-images.githubusercontent.com/30621352/173319011-a5ae2f08-ac6f-406d-93b2-3496da9cf6fc.mov

please see Codepen

So currently i'm using computed for unmaked value Codepen

yuniit avatar Jun 13 '22 09:06 yuniit

@yuniit ,

Just fixed the reversing issue. Have a try with 5.0.8-beta.25

RobinHerbots avatar Jul 20 '22 22:07 RobinHerbots

5.0.8-beta.25

I just run npm install inputmask@next --save but I got version 5.0.8-beta.17 instead of 5.0.8-beta.25

I tried npm install [email protected] --save and I got this error:

npm ERR! notarget No matching version found for inputmask@^5.0.8-beta.25.

Is version 5.0.8-beta.25 available yet?

yuniit avatar Jul 21 '22 01:07 yuniit

It is available now ;-)

On Thu, Jul 21, 2022 at 3:26 AM yuniit @.***> wrote:

5.0.8-beta.25

I just run npm install @.*** --save but I got version 5.0.8-beta.17 instead of 5.0.8-beta.25

I tried npm install @.*** --save and I got this error:

npm ERR! notarget No matching version found for inputmask@^5.0.8-beta.25.

Is version 5.0.8-beta.25 available yet?

— Reply to this email directly, view it on GitHub https://github.com/RobinHerbots/Inputmask/issues/2629#issuecomment-1190933377, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACNX3YDLJZZVFK3KCDYFMTVVCRN3ANCNFSM5YJKVSUQ . You are receiving this because you were mentioned.Message ID: @.***>

RobinHerbots avatar Jul 25 '22 15:07 RobinHerbots

@RobinHerbots Thank you for fixing the reversing issue. but it seems like autoUnmask not working if noValuePatching is set to true

yuniit avatar Jul 30 '22 03:07 yuniit

@yuniit ,

I think that is logical as the value property isn't altered. Have a read at https://github.com/RobinHerbots/Inputmask#unmaskedvalue

RobinHerbots avatar Aug 23 '22 15:08 RobinHerbots