@raketa-cloud/admin 0.0.36 → 0.0.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -253,7 +253,7 @@ export default class FormBuilder extends HTMLBuilder {
|
|
|
253
253
|
|
|
254
254
|
const checkboxItem = this.tag("input", null, {
|
|
255
255
|
type: "checkbox",
|
|
256
|
-
value,
|
|
256
|
+
value: desiredValue,
|
|
257
257
|
...rest,
|
|
258
258
|
...selected,
|
|
259
259
|
});
|
|
@@ -373,7 +373,8 @@ export default class FormBuilder extends HTMLBuilder {
|
|
|
373
373
|
const error = this.__getError(name);
|
|
374
374
|
|
|
375
375
|
if (as === "checkbox") {
|
|
376
|
-
const { hint = "", cbOptsRest } = rest;
|
|
376
|
+
const { hint = "", ...cbOptsRest } = rest;
|
|
377
|
+
|
|
377
378
|
return this.group(
|
|
378
379
|
[
|
|
379
380
|
this.tag(
|