help wantedv6
Metriche repository
- Star
- (2 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
From directus created by danieljones97 : directus/directus#2034
When setting up a new table, I specified that the first field was mandatory, however when adding my first row to the table using Postman and the API, I could leave the first field blank and the table was still updating with the new row.
Version Info
- Directus version and branch: 6.4.3
- PHP version: 5.6.0
- MySQL version: 5.5.55
- Web server: Apache 5.5.1
- OS name and version: macOS Sierra Version 10.12
Expected Behavior
I should receive an error stating that the first field is mandatory
Actual Behavior
The table is updated with the new row and the first field is null.
Steps to Reproduce
- Create a new table in directus.
- Add a new field and click the star next to the column to state it is required.
- Using Postman, hit the API endpoint without passing any data to that first field.