Skip to content

[Bug]: Forms and Control's databinding is broken. #1917

@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

There were some issues in 2.7.2 with forms and their not properly connecting to their datasource.

Now this is another problem that I think is new in 2.7.3, but maybe was in 2.7.2 as well. The Edit controls (and other types of controls) do not track with a forms' data once you have changed a control in the form.

This pretty much makes forms completely broken.

Expected Behavior

I expect when a form's data source is changed, any controls in the form that map to the data will change to match the new data.

Steps to reproduce

See attached app. Click on different rows of the table and note that the form data changes as well as the query shows the correct values. Now type something into the name field. Then change the selected row in the table and note that the name edit will not show the table data, but the query does.

No matter want you do at this point, including "clearing" or "resetting" the form, it will not reconnect that edit to the form data. I have tried setting the data source property as well as calling the forms.setData function call. Same issue.

TestForms (1).json

Environment

2.7.3 hosted and self hosted.

Additional Information

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions