protected override async Task OnInitializedAsync()
        {
            PropertyEditContext = EditContext.EntityProperty(Property);

            var nodeUI = await UIResolverFactory.GetConventionNodeUIResolverAsync(Property.PropertyType);

            var sections = await nodeUI.GetSectionsForEditContextAsync(PropertyEditContext, new NavigationState());

            Fields = sections.FirstOrDefault()?.Elements?.OfType <FieldUI>();

            EditContext.OnValidationStateChanged += EditContext_OnValidationStateChangedAsync;
            if (PropertyEditContext != null)
            {
                PropertyEditContext.OnValidationStateChanged += PropertyEditContext_OnValidationStateChangedAsync;
            }

            await base.OnInitializedAsync();
        }