Formatter settings form errors are not correctly cleared

Created on 13 December 2024, 27 days ago

Problem/Motivation

See title

Steps to reproduce

  • Edit a custom elements display
  • select a formatter with custom settings; click edit cogwheel
  • Add an invalid value. (I have no example from the top of my head; I encountered this in a custom formatter that has a dropdown with an "empty" value, but that is still required.)
  • Press "Update" button; see error
  • Fix the error and press "Update" to save correctly. (Also works when pressing cancel? I don't know.)
  • Save the CE display. You can't, because the previous error is repeated. Only a second press of the "Save" button (after the screen was reloaded) works.
  • Alternatively, instead of saving anything: navigate away from the screen. The next screen will re-show the error message (once).

Proposed resolution

Clear the error.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇳🇱Netherlands roderik Amsterdam,NL / Budapest,HU

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024