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

[Docs]: Focus first invalid input after submit #80

Open
joaom00 opened this issue Mar 24, 2023 · 4 comments
Open

[Docs]: Focus first invalid input after submit #80

joaom00 opened this issue Mar 24, 2023 · 4 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@joaom00
Copy link
Member

joaom00 commented Mar 24, 2023

Description

I think many users will ask this, so I'm opening a discussion to see if this should be handled by HouseForm. If not, then I think it would be great to have a section in the docs showing how to achieve this.

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

@joaom00 joaom00 added enhancement New feature or request needs triage Needs attention from the HouseForm maintainers labels Mar 24, 2023
@crutchcorn
Copy link
Member

I definitely think this shouldn't be handled by HouseForm's code, in particular because I don't know how we'd do this in a headless way, but also because I think this won't be the behavior of all forms.

I do like the idea of doing this with a docs guide instead, however. Let's rename this issue and change the labels

@crutchcorn crutchcorn added documentation Improvements or additions to documentation good first issue Good for newcomers and removed enhancement New feature or request needs triage Needs attention from the HouseForm maintainers labels Mar 26, 2023
@crutchcorn crutchcorn changed the title [Feature Request]: Focus first invalid input after submit [Docs]: Focus first invalid input after submit Mar 26, 2023
@ShooTeX
Copy link
Contributor

ShooTeX commented Mar 29, 2023

Maybe a new section recipes would be nice for this kind of things

@joaom00
Copy link
Member Author

joaom00 commented Mar 30, 2023

I like the idea of recipes. If we were to add this would it be a step-by-step or just add a stackblitz example? @crutchcorn

@crutchcorn
Copy link
Member

I have no strong preference either way - and could be convinced either way. I think if we do go "StackBlitz", let's at least add a little description

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants