1. Make sure there is a metadata definition for file with required field, and not required field 2. Try to upload a file 3. Just enter the optional field => It enables the Next button (Indeally it shouldn't) 4. Restart and try to fill in required field. => It enables the Next button (Indeally it should, so it works in that case) 5. Remove the required metadata => The next button remains enabled 6. Try to click on Next => It allows to upload file (Indeally it shouldn't unless you add the reuqired field for the metadata) <img width="1201" alt="Screenshot 2024-06-27 at 4 07 36 PM" src="https://github.com/clowder-framework/clowder2/assets/22405928/598983b3-390f-40f8-aca1-b344086dfb53"> <img width="1201" alt="Screenshot 2024-06-27 at 4 07 45 PM" src="https://github.com/clowder-framework/clowder2/assets/22405928/63d6b958-97a9-4cf1-b055-f44518a03ee0"> <img width="1198" alt="Screenshot 2024-06-27 at 4 07 56 PM" src="https://github.com/clowder-framework/clowder2/assets/22405928/e0aeab96-515d-457c-9c12-1f21de544673"> <img width="1200" alt="Screenshot 2024-06-27 at 4 08 04 PM" src="https://github.com/clowder-framework/clowder2/assets/22405928/61a0a98c-9731-4910-8336-11f18f166617">