An Angular/Springboot web application for the loading, editing, saving of data that follows the Phenopacket Schema
BSD 3-Clause "New" or "Revised" License
8
stars
2
forks
source link
Clearing field produces an invalid value #293
Closed
ielis closed 1 year ago
Age
from the dropdown, in order to add individual's age.Age
by clicking on the cross in the dropdownIssue
The validator correctly points out presence of errors:
The errors are unfixable unless the user adds age despite not wanting to. Of course, he must also know that.
This is likely caused by sending a phenopacket with a phenopacket with empty object instead of valid
timeAtLastEncounter
value:However,
{}
is not a valid value of the field.DOD
Clearing an optional field won't leave an empty object in place.