Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update onChange event for custom component #29

Open
mathewthe2 opened this issue Jul 20, 2022 · 0 comments
Open

Update onChange event for custom component #29

mathewthe2 opened this issue Jul 20, 2022 · 0 comments

Comments

@mathewthe2
Copy link

mathewthe2 commented Jul 20, 2022

Problem:
When using custom component, onChange event is not sending the full converted value.

Reproduce:

  1. Go to storyboard: https://wanakanareact.netlify.app/
  2. Select "as custom component"
  3. Check browser logs as you type.

image

The final event sent こたtsu and not こたつ.

Solution:

Add

e.target.value = updatedValue;

after line 25

inputRef.current.value = updatedValue;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant