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
18 stars 8 forks source link

Temp: Cannot change the response domain attached to a question item #795

Open HayleyMills opened 1 year ago

HayleyMills commented 1 year ago

In this example there are a couple of code lists and a few response domains to select when first created e.g. image

But once the code list has been selected and saved, if you need to change the response domain - there are no longer any options to select from (only the current save response domain) e.g. image

This is not the case for live.

simonreed commented 1 year ago

@HayleyMills this is because of the autocomplete, it's looking for all response domains that start with 'cs_test' which only returns one option, if you clear the value then you get all the responses as options. The only way to stop this happening would be to turn the autocomplete off.

HayleyMills commented 1 year ago

Interesting, as I thought this was not happening in the previous version, e.g. image However, this is temperamental as sometimes the behaviour is the same as the latest version as above.

The previous version does have an x to delete the contents, so at least that indicates that you need to delete it first?

simonreed commented 1 year ago

@HayleyMills Sorry I've looked into this and it's too time consuming to put the 'X' back in. For now we'll need to remove them manually.

HayleyMills commented 1 year ago

OK thanks.