Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentDidMount() {
bind(this.inputFieldRef, { IMEMode: 'toHiragana' });
// IOS doesn't open keyboard via autofocus so let's give it a poke
this.inputFieldRef.focus();
}
componentDidMount() {
this.wordInputRef.value = this.props.initialValues.word;
this.readingInputRef.value = this.props.initialValues.reading;
bind(this.wordInputRef, { IMEMode: 'toHiragana' });
bind(this.readingInputRef, { IMEMode: 'toHiragana' });
}
componentDidMount() {
this.wordInputRef.value = this.props.initialValues.word;
this.readingInputRef.value = this.props.initialValues.reading;
bind(this.wordInputRef, { IMEMode: 'toHiragana' });
bind(this.readingInputRef, { IMEMode: 'toHiragana' });
}