Skip to content

Investigate how fields cache options #3553

@alschmiedt

Description

@alschmiedt

Describe the bug
When a dropdown field list refreshes the selected item does not match the real selection.
This occurs when an item in the list is renamed and causes a resort of the options list.
Bug was introduced in #3036.

To Reproduce

  1. Navigate to test blocks
  2. Choose Dynamic dropdown
  3. Add 'aa', 'bb', 'cc' as options
  4. Choose 'cc'
  5. In the console rename 'cc' to be 'ab'
  6. Observe

Screen Shot 2020-01-06 at 4 13 00 PM

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Stack Traces

Replace with error stack trace.

Additional context
The forum post found here describes the issue further.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions