Add support for required property in checkbox