react-forms-processor icon indicating copy to clipboard operation
react-forms-processor copied to clipboard

Editing repopulated form

Open swordsreversed opened this issue 6 years ago • 4 comments

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.

swordsreversed avatar Feb 05 '19 23:02 swordsreversed

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

draperd avatar Feb 13 '19 09:02 draperd

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

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

swordsreversed avatar Feb 16 '19 09:02 swordsreversed

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 avatar Feb 17 '19 10:02 draperd

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.

draperd avatar Mar 09 '19 09:03 draperd