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.
package/package.json
CHANGED
|
@@ -528,8 +528,11 @@ export class FormControl implements IFormControl {
|
|
|
528
528
|
// See if there is a custom type
|
|
529
529
|
let custom = CustomControls.getByType(this._props.type);
|
|
530
530
|
if (custom && typeof (custom) === "function") {
|
|
531
|
+
// Set the default value
|
|
532
|
+
this._props.value = this._props.value || value;
|
|
533
|
+
|
|
531
534
|
// Execute the event
|
|
532
|
-
this._custom = custom(
|
|
535
|
+
this._custom = custom(this._props, this._formProps);
|
|
533
536
|
}
|
|
534
537
|
break;
|
|
535
538
|
}
|