Skip to content
Discussion options

You must be logged in to vote

Conform does not maintain values internally and relies on the DOM.

For this kind of usage, I would recommend using a controlled input: keep the value in React state and validate against that state instead. Relying on FormData will not work when the inputs are not actually rendered. The alternative would be to render hidden inputs for those values, but that mostly defeats the purpose of using a virtualized list.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rgosse
Comment options

@edmundhung
Comment options

@rgosse
Comment options

Answer selected by rgosse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants