We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9001890 commit 4e97d41Copy full SHA for 4e97d41
1 file changed
src/form/field/CheckBox.mjs
@@ -78,9 +78,13 @@ class CheckBox extends Base {
78
/**
79
* In case the CheckBox does not belong to a group (multiple fields with the same name),
80
* you can pass a custom value for the unchecked state.
81
- * @member {*} uncheckedValue=null
+ * @member {*} uncheckedValue=false
82
*/
83
- uncheckedValue: null,
+ uncheckedValue: false,
84
+ /**
85
+ * @member {Boolean|Number|String|null} value=true
86
+ */
87
+ value: true,
88
89
* @member {String|null} valueLabelText_=null
90
0 commit comments