@implements IDialogContentComponent @rendermode InteractiveServer @using HopFrame.Web.Models @using HopFrame.Web.Components.Pages @code { [Parameter] public required RelationPickerDialogData Content { get; set; } [CascadingParameter] public required FluentDialog Dialog { get; set; } protected override void OnInitialized() { Dialog.Instance.Parameters.Title = $"Select {Content.SourceTable.TableType.Name}"; Dialog.Instance.Parameters.Width = "90vw"; Dialog.Instance.Parameters.Height = "90vh"; Dialog.Instance.Parameters.PrimaryAction = "Assign"; } }