OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

History for select item cleared due choice filter is not showing the choice label #108

Open pbowen-oc opened 3 years ago

pbowen-oc commented 3 years ago

Steps:

  1. In a set of cascading select items, select a value in the first item
  2. Select a value in the second item
  3. Change the value of the first item such that the value in the second item is no longer valid due to the choice filter on it. Note that the second item's value is automatically cleared.
  4. View the second item's History in the Query widget

Expected: Each value in the History widget will be shown as "Label (name)"

Actual: The history entry for when the item was automatically cleared due to the choice filter lists just the choice name (no label)

For example: Screenshot 2021-01-27 230754

This is related to issue OpenClinica/enketo-express-oc#401