helsenorge/structor

Bug with Initial and code

Opened this issue · 0 comments

When changing the code, initial no longer works.

To reproduce:

  1. Create a new form and add an "Alternativ" element
  2. Write some dummy text in "Tekst" and add two options. The options gets code values automatically
  3. Go to "Avanserte innstillinger" and set the first option as a initial value
  4. Preview, all good so far, the first option is set as initial value
  5. Go back to the form and change the code value for the initial option
  6. Preview again, and it is not longer set to initial

The initial value should remain as initial, if I change the code.

image