Steps to replicate the issue (include links if applicable):
- Access MPIC either on staging or production.
- Open the form for creating a new data collection artifact
- Provide all the necessary details but leave the "Description" field empty (note that it is labeled as optional)
- Attempt to submit the form
What happens?:
A validation error is thrown, stating that the "Description" field has an invalid value, even though the field is marked as optional. The error message displayed is:
"There are some errors while validating the form description: Invalid value"
(See attached screenshot)
What should have happened instead?:
Since the "Description" field is optional, the form should submit successfully without requiring a value for this field. No validation error should be triggered if the field is left empty.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Detected using Chrome v129 on MacOS Sonoma 14.6.1.