Skip to content

[Bug]: Edit Fields are not connected quickly to {{ }} #1936

@ScottKemp

Description

@ScottKemp

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

This is a timing bug. When I change an input field, any use of the field, such as {{input_item.value}} will be delayed before it is updated. This is a problem where you have a Submit button that calls a query, and the query is using the value of the text field. If you edit the field, then click the "Submit" too quickly, the save query will have old data.

And I am not talking about very short delays, but even up to .5 to 1 sec, which is plenty of time to edit a field, then click submit. I get that you may consider this an "Architectural" issue, but ask yourself when the last time you used another web app that when you edited a value and clicked submit, it didn't actual save it. Thats what is happening because of this bug.

Expected Behavior

I would expect that when using {{ }} syntax, that the value that you see on the screen is the value you get with the {{ }} with no delay.

Steps to reproduce

See attached app. Edit the field, then click the submit button relatively quickly. You will notice the toast does not match what you typed. You will also notice the delay from the input to the text

Environment

Self Hosted 2.7.3

Additional Information

With retool, the same test is nearly intantenous.

BUG_DelayedResponseToFieldEdit.json

Metadata

Metadata

Labels

Awaiting ReleaseTicket is Dev Complete. Awaiting for the Release.Javascript FrontendPull requests that update Javascript code

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions