Skip to content

Using sequence in schema overwrites the initial values #1223

Answered by Hyperkid123
Ali-Zmn asked this question in Need help
Discussion options

You must be logged in to vote

I get all saved values from my API and supply it to the FormRenderer as initialValues (I hope it is the right approach)

@Ali-Zmn Yeah this is the intended approach. I can actually see the RETIRED value in the state for a short time. This is a bug and we should treat the sequence field with the initial value as if it was in a dirty state.

I have opened a new issue. I hope I will have some time soon to fix it.

EDIT: A fix created here: #1225

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ali-Zmn
Comment options

Answer selected by Ali-Zmn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants