gd-bs 6.6.34 → 6.6.35

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.
@@ -515,8 +515,10 @@ var FormControl = /** @class */ (function () {
515
515
  // See if there is a custom type
516
516
  var custom = custom_1.CustomControls.getByType(this._props.type);
517
517
  if (custom && typeof (custom) === "function") {
518
+ // Set the default value
519
+ this._props.value = this._props.value || value;
518
520
  // Execute the event
519
- this._custom = custom(__assign(__assign({}, this._props), { value: value }), this._formProps);
521
+ this._custom = custom(this._props, this._formProps);
520
522
  }
521
523
  break;
522
524
  }