Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate how fields cache options #3553

Closed
alschmiedt opened this issue Jan 7, 2020 · 1 comment
Closed

Investigate how fields cache options #3553

alschmiedt opened this issue Jan 7, 2020 · 1 comment
Assignees
Labels
component: fields issue: bug Describes why the code or behaviour is wrong

Comments

@alschmiedt
Copy link
Contributor

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.

@samelhusseini
Copy link
Contributor

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: fields issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

2 participants