Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

type "dead" characters actually set Dead in the textbox

Open julienGrd opened this issue 2 years ago • 3 comments

Hello, i notice when i associate textbox to a mask with your library, when i type a dead character (dead character are actually character who need to be associate with another one, like ^ or ¨), it will literally write Dead in the field (the behavior expected is nothing happen, and it will be the next character pressed which will be associate with the dead character).

In french, we use it for a lot of word (noël or crême for example)

so basically when i want to write crême it will write crDeademe in the textbox

you can reproduce it on your demo on the field email address :https://robinherbots.github.io/Inputmask/#/demo type a dead character in the field, you will see Dead appear

Thanks !

julienGrd avatar Apr 06 '23 21:04 julienGrd

@julienGrd ,

I fixed the issue in version 5.0.9-beta.1 (no npm release yet)

RobinHerbots avatar Apr 07 '23 14:04 RobinHerbots

Hi, We updated from 4.x where the accents were working, but there's still a minor issue with those characters. With 5.0.9-beta.1, the DEAD word is not inserted anymore, but instead of getting the accented character like é in café, you get the accent and then the letter. So you end up with caf'e.

Thanks.

sjacq avatar Jun 12 '23 14:06 sjacq

@sjacq ,

Can you have a retry with the latest beta.

I tried something like

	Inputmask({
		mask: "a{*}"
	}).mask("#test1");

and i could type élève and café

RobinHerbots avatar Aug 04 '23 11:08 RobinHerbots