Validation does not work when entering KeyFilter in Korean on mac.
The behavior suggests that this is probably the same for other combinatorial languages (like Chinese, Japanese, etc.).
Need to fix KeyFilter so that it validates well for combinatorial languages.
you need a KeyFilter component (if you have a regular expression set that prevents you from entering Korean, it doesn't matter if it's preset or you specify the regular expression yourself)
Enter the characters using the Korean keyboard, such as "안녕" (which means "Hi" in Korean). (If you are using a MAC, you can add additional keyboard input languages in the system settings.)
Text different from the specified regular expression is entered.
When I looked at the source code, I noticed that the value validation is being done in the keypress eventListener (named onKeyDown), but the keypress event is not fired when using IME.
Describe the bug
Validation does not work when entering KeyFilter in Korean on mac. The behavior suggests that this is probably the same for other combinatorial languages (like Chinese, Japanese, etc.). Need to fix KeyFilter so that it validates well for combinatorial languages.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-x5b2bh?file=src%2FApp.vue
PrimeVue version
4.2.1
Vue version
3.x
Language
ALL
Build / Runtime
Nuxt
Browser(s)
No response
Steps to reproduce the behavior
https://github.com/user-attachments/assets/6652d619-af36-4a32-9c2f-f9fc4772b1e7
Expected behavior
Input that can't pass validation shouldn't be displayed when typing in Korean, just as it is when typing in the English alphabet.