You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since version v11.38.1 the input boolean has changed (https://github.com/molgenis/molgenis-emx2/releases/tag/v11.38.1), but now by default (even without having added a defaultValue), the default is always No. Moreover, when a defaultValue is included then it's always Yes, even when defaultValue=No/no/NO (or any other (wrong) value).
Reproduction steps
1.) Goto https://emx2.dev.molgenis.org (or a localhost)
2.) create a new schema with template biobank_directory_staging
3.) Go to Biobanks and add a new record, at the end of the form there are three column which have all boolean datatypes. These default to No, No and Yes. The last one is Yes because a defaultValue is included for this column (which is currently false, as this used to work).
4.) Goto the schema editor and change in Biobanks, Withdrawn column the defaultValue, only when it's left empty the default = No all other values are Yes
Same can be done with a version before 11.38.1, for example 11.28.2 => see that three last columns in the Biobanks form have 1,2 no default value and Withdrawn had "false" as default, which in indeed as it is included in the schema.
Expected behaviour
1.) When no defaultValue is included for a column of datatype = Bool, all options should be left empty.
2.) It should be possible to include a defaultValue=No.
System configuration
Device: Computer
Operating system: Ios
Browser: Safari
The text was updated successfully, but these errors were encountered:
Have you checked if this issue already exists?
Molgenis EMX2 version
v41.2
Description
Since version v11.38.1 the input boolean has changed (https://github.com/molgenis/molgenis-emx2/releases/tag/v11.38.1), but now by default (even without having added a defaultValue), the default is always No. Moreover, when a defaultValue is included then it's always Yes, even when defaultValue=No/no/NO (or any other (wrong) value).
Reproduction steps
1.) Goto https://emx2.dev.molgenis.org (or a localhost)
2.) create a new schema with template biobank_directory_staging
3.) Go to Biobanks and add a new record, at the end of the form there are three column which have all boolean datatypes. These default to No, No and Yes. The last one is Yes because a defaultValue is included for this column (which is currently false, as this used to work).
4.) Goto the schema editor and change in Biobanks, Withdrawn column the defaultValue, only when it's left empty the default = No all other values are Yes
Same can be done with a version before 11.38.1, for example 11.28.2 => see that three last columns in the Biobanks form have 1,2 no default value and Withdrawn had "false" as default, which in indeed as it is included in the schema.
Expected behaviour
1.) When no defaultValue is included for a column of datatype = Bool, all options should be left empty.
2.) It should be possible to include a defaultValue=No.
System configuration
The text was updated successfully, but these errors were encountered: