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

EditableTextField does not reset after editing if an external property change was rejected/undone. #775

Open
binh-dam-ibigroup opened this issue Mar 31, 2022 · 0 comments

Comments

@binh-dam-ibigroup
Copy link
Contributor

Observed behavior (please include a screenshot if possible)

In the ExternalProperties (Mtc Properties) tab of a feed version,
after editing a value, if the external system rejects the change for some reason, the text field (EditableTextField) does not update to reflect the rejection and instead incorrectly keeps the edited value.

Expected behavior

The text field should reset to the initial value instead.

Steps to reproduce the problem

Using the MTC example:

  1. Open a feed source, switch to the "Mtc Properties" tab.
  2. Try to modify EditedBy. This value is reset by the external system regardless of editing. Enter any value and click the confirm (check) button.
  3. Observe that the value is not reset in the text field. Refresh the page to see the initial value again.

Any special notes on configuration used

MTC config

Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)

Recent dev branch of both datatools-ui and datatools-server.

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

1 participant