protected override void OnInitialized()
        {
            // link to the parent component
            if (ParentValidation != null)
            {
                ParentValidation.InitInputValue(internalValue);

                ParentValidation.Validated += OnValidated;
            }

            base.OnInitialized();
        }
Пример #2
0
        protected override void OnInit()
        {
            // link to the parent component
            ParentField?.Hook(this);

            if (ParentValidation != null)
            {
                ParentValidation.InitInputValue(internalValue);

                ParentValidation.Validated += OnValidated;
            }

            base.OnInit();
        }