Fixed bug in checkbox.
Only prevent the generation of the value attribute when the value is None.
None