@mihaelkonjevic FYI, all the forms related helpers in keechma-toolbox break for CJK text
it’s probably not ready for use yet
the problem is that typing in text fields causes a ton of duplicate characters--let me try to understand the controller and see whats causing it
@sooheon we are using it in production, but definitely not with CJK text
I’d gladly fix it if there’s a way for me to reproduce it.
I followed the realworld example, let me see if it can be reproduced there
I did have some problems previously ( in non keechma days) when I was developing app for Chinese market. In their case there was a small pop up which would show up below input fields which would convert alphabet letters to Chinese ones. I don’t know if this is a similar issue (primarily can there be a few keypresses before a new letter shows up in the input field)
yeah it’s a similar thing. n keypresses = 1 character essentially
as you type (korean), each character gloms onto the previous until it forms a larger character
in the conduit (realworld app) login form, for example, typing korean in the field causes incorrect grouping of these “glommed characters”, depending on how fast you type
I think the simplest fix would be making it not fully managed component, and only checking validation on send?
(i.e. not really using keechma forms, sad)
You can still do it, you just need to make your own helper
They are pretty simple https://github.com/keechma/keechma-toolbox/blob/master/src/cljs/keechma/toolbox/forms/helpers.cljs#L58
You could make your own version which would buffer the value until it’s being sent upstream to the controller
I can take a look tomorrow, but I’ll probably need your help to implement a correct solution
Of course.
I can file an issue and describe it as best as I can today
and tomorrow will be online to talk
👍