Skip to content

bugfix: remove all options from multiple form

@clement @sylvain what do you think about this MR?

The situation is, when we render a widget, a get value returns:

  • the value of the dataHolder if some are found in the DOM
  • this._value if no dataHolder

The problem: now we save a Proxy in this._value. When we removed all the values from a multiple-form, there is no dataHolder in the DOM, and the widget returns the Proxy instead of an empty array.

Closes #490 (closed)

Merge request reports