Custom Fields - Checkbox - Unexpected output
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
Describe the bug When creating custom fields and setting the 'Form Element' to 'checkbox', the resulting output in the Asset Creation / Update screen is unexpected. (See screenshot 1) Furthermore, the values are saved in an array type and can't be searched because the value is '1' or '0', instead of it searching on the key. (See screenshot 2)
To Reproduce Steps to reproduce the behavior:
- Create a new Custom Field with 'Form Element' set to 'checkbox'
- Add this new Custom Field to a Fieldset
- Add this Fieldset to your Asset Model
- Add a new Asset of this type / Edit the Asset of this Model.
Expected behavior Only VALUEs should be displayed instead of the key-value pairs.
Screenshots
Screenshot 1: shows the Add new Asset page / Edit page
Screenshot 2: shows the View Asset page

Server (please complete the following information):
- Snipe-IT Version: v5.0.9 build 5616 (973eacf6c3)
- OS: Ubuntu / Docker (snipe/snipe-it:latest)
- Web Server: Apache
- PHP Version: 7.2.24-0ubuntu0.18.04.7
Additional context
- Is this a fresh install or an upgrade? Fresh install (pulled docker image)
- What OS and web server you're running Snipe-IT on: Ubuntu / Docker
- What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Docker
- Include what you've done so far in the installation, and if you got any error messages along the way: Default installation
- Indicate whether or not you've manually edited any data directly in the database: No
Add any other context about the problem here.
Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
I'm on Version v5.0.11 - build 5695 and I still have the same issue, any fixes for that?
+1 same issue here in v5.0.12

Any update on this...? I really need this functionality to use Snipe-IT properly...
Any update on this...? I really need this functionality to use Snipe-IT properly...
It was fixed in preovious update, I have 5.1.2 and it's working