keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
sooheon 2018-01-20T19:56:48.000078Z

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

sooheon 2018-01-20T19:57:32.000079Z

it’s probably not ready for use yet

sooheon 2018-01-20T19:58:09.000058Z

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

mihaelkonjevic 2018-01-20T19:58:18.000013Z

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

mihaelkonjevic 2018-01-20T19:58:59.000097Z

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

sooheon 2018-01-20T20:00:18.000038Z

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

mihaelkonjevic 2018-01-20T20:01:27.000091Z

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)

sooheon 2018-01-20T20:02:00.000052Z

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

sooheon 2018-01-20T20:02:30.000022Z

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

sooheon 2018-01-20T20:03:31.000101Z

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

sooheon 2018-01-20T20:04:12.000084Z

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

sooheon 2018-01-20T20:04:20.000013Z

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

mihaelkonjevic 2018-01-20T20:04:42.000073Z

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

mihaelkonjevic 2018-01-20T20:06:21.000045Z

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

mihaelkonjevic 2018-01-20T20:08:25.000099Z

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

sooheon 2018-01-20T20:08:46.000112Z

Of course.

sooheon 2018-01-20T20:09:16.000059Z

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

sooheon 2018-01-20T20:09:23.000059Z

and tomorrow will be online to talk

mihaelkonjevic 2018-01-20T20:22:47.000012Z

👍