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

bug: dynamic forms sometimes are not updating #4495

Open
vzhemchuzhnikov opened this issue Oct 7, 2024 · 0 comments
Open

bug: dynamic forms sometimes are not updating #4495

vzhemchuzhnikov opened this issue Oct 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@vzhemchuzhnikov
Copy link

vzhemchuzhnikov commented Oct 7, 2024

Describe the bug

When a form's data source is dynamically taken from another component, its values may not update.
Pls look at the reproduce section to see when.

To reproduce

  1. Open attached app
  2. Paste this to text area
{
    "properties" :{
        "field_1": {
            "type": "string"
        },
        "field_2": {
            "type": "string"
        }
    }
}
  1. Input some values into field 1 and field 2
  2. Press submit
  3. See that rich result is now displaying form values
  4. Paste this into text area
{
    "properties" :{
        "field_1": {
            "type": "string"
        },
        "field_3": {
            "type": "string"
        }
    }
}
  1. Input anything in field 3
  2. Press submit
  3. See that values are changed
  4. Paste this into text area
{
    "properties" :{
        "field_1": {
            "type": "string"
        },
        "field_2": {
            "type": "string"
        }
    }
}
  1. See that field 2 already has a value that was inputted before
  2. Without editing the form, press submit
  3. See that the result did not update (still contains field 3 and no field 2)

Expected behavior

p. 13 contains field 2 and not field 3

Screenshots

No response

Browser information

Edge Version 128.0.2739.42 (Official build) (64-bit), Firefox 130.0.1 (64-bit)

Application version

CE v1.405.5

Additional Context

dynamic_form_bug.json

@vzhemchuzhnikov vzhemchuzhnikov added the bug Something isn't working label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants