Optional custom fields not optional
Expected Behavior (or desired behavior if a feature request)
Leave optional custom fields blank.

Actual Behavior
Error message:

Please confirm you have done the following before posting your bug report:
- [x] I have enabled debug mode
- [x] I have read checked the Common Issues page
Please provide answers to these questions before posting your bug report:
- Version of Snipe-IT you're running: v4.0.5 build 40 (g42c2a66)
- What OS and web server you're running Snipe-IT on: nginx, win7x64
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): manual
- WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
- What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
- If a stacktrace is provided in the error, include that too.
- Any errors that appear in your browser's error console.
- Confirm whether the error is reproduceable on the demo.
- Include any additional information you can find in
app/storage/logsand your webserver's logs. - Include what you've done so far in the installation, and if you got any error messages along the way.
- Indicate whether or not you've manually edited any data directly in the database
Can you do a pull from develop and let me know if that fixes it?
(Laravel 5.4 changed the way nullable fields are handled, so that you have to specify them as nullable, whereas before you could just leave them as not required. I thought we corrected that everywhere, but apparently not.)
Superb! Develop works for me. Thanks again @snipe
Try one more time - I just refactored that a tiny bit and want to make sure I didn't break anything :P
Commit 2e76620cf8e3647a93db4e3713260294c21ced9b still works for me.
Awesome, thanks for testing so quickly!