protected override void OnInit() { // link to the parent component ParentField?.Hook(this); base.OnInit(); }
protected override void OnInit() { // link to the parent component ParentField?.Hook(this); if (ParentValidation != null) { ParentValidation.InitInputValue(internalValue); ParentValidation.Validated += OnValidated; } base.OnInit(); }