diff --git a/src/Connected.Components.Showcase.Runner/Pages/DropdownDemo.razor b/src/Connected.Components.Showcase.Runner/Pages/DropdownDemo.razor index c06ae02..0837d33 100644 --- a/src/Connected.Components.Showcase.Runner/Pages/DropdownDemo.razor +++ b/src/Connected.Components.Showcase.Runner/Pages/DropdownDemo.razor @@ -4,7 +4,7 @@ @using Connected.Components; - e.Value.ToString()) @bind-SelectedItems="@SelectedItems" AllowMultiple=true> + @context.Name diff --git a/src/Connected.Components/Models/Modal/ModalOptions.cs b/src/Connected.Components/Models/Modal/ModalOptions.cs index d92bfc6..405072d 100644 --- a/src/Connected.Components/Models/Modal/ModalOptions.cs +++ b/src/Connected.Components/Models/Modal/ModalOptions.cs @@ -18,12 +18,14 @@ public class ModalOptions DisableBackdropClick = options.DisableBackdropClick; NoHeader = options.NoHeader; DisableEscKey = options.DisableEscKey; + Type = options.Type; } - public ModalOptions(bool disableEscKey, bool disableBackdropClick, bool noHeader) + public ModalOptions(bool disableEscKey=false, bool disableBackdropClick=false, bool noHeader=false, ModalType type=ModalType.Default) { DisableEscKey = disableEscKey; DisableBackdropClick = disableBackdropClick; NoHeader = noHeader; + Type = type; } }