Add support for checkbox in readonly mode and fix some issues with other input types