Current Behavior:
Dependency-Track provides the ability to "Upload BOM" via a Projects's "Components" tab.
If one clicks the "Upload" button on the dialog without first selecting a file then DT displays a "BOM Uploaded" message and closes the dialog.... even though nothing was actually uploaded (tested using v4.2.2).

The api-server log reports:
WARN [BomUploadProcessingTask] The BOM uploaded is not in a supported format.
Supported formats include CycloneDX XML and JSON
Proposed Behavior:
The "Upload" button on the dialog should be inactive until a file is selected.
Current Behavior:
Dependency-Track provides the ability to "Upload BOM" via a Projects's "Components" tab.
If one clicks the "Upload" button on the dialog without first selecting a file then DT displays a "BOM Uploaded" message and closes the dialog.... even though nothing was actually uploaded (tested using v4.2.2).
The api-server log reports:
Proposed Behavior:
The "Upload" button on the dialog should be inactive until a file is selected.