Skip to content
Discussion options

You must be logged in to vote

No, RHF doesn't keep the registered field's order.

The only think you can kinda rely on is the order of the form values properties. They're placed in order of registration. But keep in mind, that the order's gonna change as soon as you unregister one of the inputs.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@bluebill1049
Comment options

@Noitidart
Comment options

Answer selected by bluebill1049
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants