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

Touched feature #529

Open
LowArmour opened this issue Dec 11, 2024 · 0 comments
Open

Touched feature #529

LowArmour opened this issue Dec 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@LowArmour
Copy link

Is your feature request related to a problem? Please describe.
I really need a "touched" feature. A touched input field is a field that the user focused and blurred (onBlur). It is not quite dirty/tainted, the difference being that dirty/tainted occurs onInput, while touched occurs onBlur.

The benefit is that you have full control over CSS this way and you can implement a valid class (i.e., a class that appears only when there are no field errors and onBlur occurred).

Angular framework has this implemented and it really gives devs the power to fully customize the form fields.

This should also come with the ability to trigger touched programmatically.

Describe the solution you'd like
To be able to customize input fields based on "touched" (i.e., input fields that triggered onBlur)

Describe alternatives you've considered
There is nothing that can replace a "touched" feature.

Additional context
No additional context.

@LowArmour LowArmour added the enhancement New feature or request label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant