Skip to content

Commit ccdef25

Browse files
author
Liran Cohen
committed
Fix checkbox value validation, allow for empty checkbox posting.
1 parent 91854bd commit ccdef25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/CustomField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private function fieldValidationRules()
4141
'integer',
4242
],
4343
'checkbox' => [
44-
'in:on',
44+
'in:0,1',
4545
],
4646
'radio' => [
4747
'string',

0 commit comments

Comments
 (0)