CLOSER-Cohorts / archivist

Archivist is designed to be an easy to use editor that allows documention of questionnaires and data in DDI-Lifecycle
MIT License
17 stars 8 forks source link

React: It is not possible to edit a question grid without losing the response domains attached #811

Closed HayleyMills closed 4 months ago

HayleyMills commented 9 months ago

Spotted on live, but the behaviour is the same on staging. This may be related to #565

The response domains are visible on the question grid, but as soon you click into any field to make an edit, the response domains disappear, so then if you save as is, it will lose them. If you refresh before saving (and lose the edits), then the responses appear back.

HayleyMills commented 4 months ago

e.g. https://closer-archivist-staging.herokuapp.com/instruments/us3_ysc/build/question_grids/ edit anything on any grid and the response domain disappears.

simonreed commented 4 months ago

@HayleyMills fixed on staging

HayleyMills commented 4 months ago

Tested on staging and the response domain no longer disappears.