Slide 24
Slide 24 text
handleChange(e) {
const inputValue = e.target.value;
const value = inputValue.replace(/[ぁ-ゖ]/g, (chr) =>
String.fromCharCode(chr.charCodeAt(0) + 0x60)
);
this.setState({ showValue: inputValue});
this.props.onChange(e, value);
}
handleBlur() {
this.setState({ showValue: this.props.value});
}
ฤूதมͤͣʹදࣔ
ϑΥʔΧε͕֎Εͨͱ͖ʹQSPQTΛ࠶ద༻