| }} | }} | ||||
| onCompositionEnd={(e) => { | onCompositionEnd={(e) => { | ||||
| isComposing.current = false | isComposing.current = false | ||||
| onChange(e.data) | |||||
| onChange(e.currentTarget.value) | |||||
| }} | }} | ||||
| onFocus={() => setFocus(true)} | onFocus={() => setFocus(true)} | ||||
| onBlur={() => setFocus(false)} | onBlur={() => setFocus(false)} |