Input doesn't reset when still in focus

Problem: When I fill an input press enter afterwards, the corresponding input’s onchange event cannot reset the Input, because (i guess?) it is still in focus. However, when i try to shift the focus to a different input before resetting the group, the original input still doesnt reset

Example:

In this example, both inputs should get resetted when one is over 10 characters long, however only the input which is not focused gets reset:

2019-04-10_15-37-58

In the first few seconds, where both are reset, i clicked out of the input after pasting a text into it,

when only one has reset, i pressed enter after pasting the text into the input

Bumping

Bumping.

Hey @freakywii,

I think you are describing that you want to see this, correct?

focus

If so, here is how I made that work :

If I got your use case wrong, let me know!

–Ken



Looking to accelerate your app development?

Development of Advanced Apps at https://uniqueideas.com or schedule a free intro session :gift:

Ken Truesdale
LinkedIn

Yeah, you’re right! And it seems like a good work-around, haven’t thought about using pauses :smiley: Thanks for that!

This topic was automatically closed after 14 days. New replies are no longer allowed.