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

Editing repopulated form #47

Open
swordsreversed opened this issue Feb 5, 2019 · 4 comments
Open

Editing repopulated form #47

swordsreversed opened this issue Feb 5, 2019 · 4 comments

Comments

@swordsreversed
Copy link

the readme is not that clear to me and i'm having problems finishing the input to a database.

When i get my data into the form, edit and save it:

<Form defaultFields={form.fields} value={formValues} renderer={renderer}>
  <FormButton
    label="Save"
    onClick={(formData) => {
    console.log(formData);
    this.props.updateTicket(formData);
  }}
  />
</Form>

I see the original unaltered data in formData, not the updates i've done. Obviously i'm missing a step.

@draperd
Copy link
Owner

draperd commented Feb 13, 2019

That does sound like a bug - what renderer are you using? Are you working off master or off a particular release?

@swordsreversed
Copy link
Author

swordsreversed commented Feb 16, 2019

@draperd I'm using Altaskit off master, very vanilla.

"react-forms-processor": "^0.0.32",
"react-forms-processor-atlaskit": "^0.0.32",
``

@draperd
Copy link
Owner

draperd commented Feb 17, 2019

I've just checked this and you're absolutely right that this isn't working correctly - my sincere apologies. I'll dig into this and see if I can resolve the problem asap. Thanks for bringing it to my attention and I'm sorry it has taken this long to start looking into it.

@draperd
Copy link
Owner

draperd commented Mar 9, 2019

I've not forgotten about this - I've had a few attempts at fixing this but I've still got a test failing which I haven't got to the bottom of yet. Hopefully I'll have a solution soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants