molgenis / molgenis-frontend

Frontend code for MOLGENIS
GNU Lesser General Public License v3.0
6 stars 12 forks source link

Configurable N/A values break the old forms #684

Closed tommydeboer closed 3 years ago

tommydeboer commented 3 years ago

Context: in molgenis/molgenis#9286 a feature was introduced that makes the N/A value of nullable categoricals, booleans and enums configurable.

How to Reproduce

  1. Go to the Data Explorer and open the settings
  2. Set Edit the data row using the forms edit plugin. to No
  3. Navigate to the OIDC Client entity type
  4. Create a new row

Expected behavior

Forms open without issues. N/A values display according how they are configured in the form settings.

Observed behavior


Uncaught TypeError: Cannot read property 'addEnumNullOption' of undefined```