final-form / final-form-focus

🏁 Final Form "decorator" that will attempt to apply focus to the first field with an error upon an attempted form submission
MIT License
83 stars 15 forks source link

Hello, I don't know if I use the select component, how to make the interface slide to the corresponding position when the validation fails. Can you tell me how to use findInput? Can it fulfill my needs? #10

Closed Gzbox closed 5 years ago

Gzbox commented 5 years ago

@nik-lampe @erikras Hello, I don't know if I use the select component, how to make the interface slide to the corresponding position when the validation fails. Can you tell me how to use findInput? Can it fulfill my needs? PS: It is best to have a demo demo, thank you very much.

Originally posted by @Gzbox in https://github.com/final-form/final-form-focus/issues/2#issuecomment-495443359

Gzbox commented 5 years ago

2 This answer solves my problem. Thank you very much.