Fork me on GitHub
#re-frame
<
2016-01-31
>
yenda00:01:14

Do you also have 3 different handlers for each server call (the actual call, ok and ko) ?

yenda00:01:57

I am wondering if there isn't a simpler way

sooheon16:01:53

Using re-frame to dispatch the value of an input field in the on-change handler works great, except when typing in CJK, keypresses which should form words like “안녕” end up being dispatched individually, resulting in “ㅇㅏㄴㄴㅕㅇ” Has anyone else run into this, and how did you solve it?

mikethompson21:01:54

@sooheon: I'm afraid I don't know much about this, I'm sorry. Possible to use on-blur as a work-around?

nberger23:01:08

@sooheon: perhaps a debouncer could help, so the value is dispatched only after the user stopped typing for X msec.