Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

touched property not true when tabbing #163

Closed
MrOggy85 opened this issue Mar 3, 2016 · 1 comment
Closed

touched property not true when tabbing #163

MrOggy85 opened this issue Mar 3, 2016 · 1 comment

Comments

@MrOggy85
Copy link

MrOggy85 commented Mar 3, 2016

Hi,

I am using a field property to determine if I should show an error message or not. I found it wise to use the "touched" property of the field for this task. It works great when you have focused the field and then used the mouse to focus on another field. However it doesn't have the same behavior if I simply change field using the tab character.

EDIT:
This is only the case when tabbing from an input field to a button. If I tab to another input field the property is changed.

@jakejscott
Copy link

I'm having the same issue, when I tab from the first field in the form touched changes to true, but when I tab from subsequent fields the touched property doesn't change.

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

No branches or pull requests

3 participants