Fork me on GitHub
#keechma
<
2018-01-20
>
sooheon19:01:48

@mihaelkonjevic FYI, all the forms related helpers in keechma-toolbox break for CJK text

sooheon19:01:32

it’s probably not ready for use yet

sooheon19:01:09

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

mihaelkonjevic19:01:18

@sooheon we are using it in production, but definitely not with CJK text

mihaelkonjevic19:01:59

I’d gladly fix it if there’s a way for me to reproduce it.

sooheon20:01:18

I followed the realworld example, let me see if it can be reproduced there

mihaelkonjevic20:01:27

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)

sooheon20:01:00

yeah it’s a similar thing. n keypresses = 1 character essentially

sooheon20:01:30

as you type (korean), each character gloms onto the previous until it forms a larger character

sooheon20:01:31

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

sooheon20:01:12

I think the simplest fix would be making it not fully managed component, and only checking validation on send?

sooheon20:01:20

(i.e. not really using keechma forms, sad)

mihaelkonjevic20:01:42

You can still do it, you just need to make your own helper

mihaelkonjevic20:01:21

You could make your own version which would buffer the value until it’s being sent upstream to the controller

mihaelkonjevic20:01:25

I can take a look tomorrow, but I’ll probably need your help to implement a correct solution

sooheon20:01:46

Of course.

sooheon20:01:16

I can file an issue and describe it as best as I can today

sooheon20:01:23

and tomorrow will be online to talk