Compare commits
	
		
			No commits in common. "8733157473a2c56d6250ba0f70d6900b5338c8ec" and "909cfd0d8179345fbfcaf64b90f994d134a2f38e" have entirely different histories.
		
	
	
		
			8733157473
			...
			909cfd0d81
		
	
		
@ -4,7 +4,7 @@
 | 
			
		||||
 | 
			
		||||
@using Connected.Components;
 | 
			
		||||
 | 
			
		||||
<Dropdown Items=@Items @bind-SelectedItems="@SelectedItems" AllowMultiple=true>
 | 
			
		||||
<Dropdown Items=@Items ItemToKey=@((e) => e.Value.ToString()) @bind-SelectedItems="@SelectedItems" AllowMultiple=true>
 | 
			
		||||
   <OptionTemplate>
 | 
			
		||||
      @context.Name
 | 
			
		||||
   </OptionTemplate>
 | 
			
		||||
 | 
			
		||||
@ -1,13 +0,0 @@
 | 
			
		||||
using System.ComponentModel;
 | 
			
		||||
 | 
			
		||||
namespace Connected.Enums;
 | 
			
		||||
 | 
			
		||||
public enum ModalType
 | 
			
		||||
{
 | 
			
		||||
	[Description("")]
 | 
			
		||||
	Default = 0,
 | 
			
		||||
	[Description("basic")]
 | 
			
		||||
	Basic = 1,
 | 
			
		||||
	[Description("image")]
 | 
			
		||||
	Image = 2
 | 
			
		||||
}
 | 
			
		||||
@ -18,14 +18,12 @@ public class ModalOptions
 | 
			
		||||
		DisableBackdropClick = options.DisableBackdropClick;
 | 
			
		||||
		NoHeader = options.NoHeader;
 | 
			
		||||
		DisableEscKey = options.DisableEscKey;
 | 
			
		||||
		Type = options.Type;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public ModalOptions(bool disableEscKey=false, bool disableBackdropClick=false, bool noHeader=false, ModalType type=ModalType.Default)
 | 
			
		||||
	public ModalOptions(bool disableEscKey, bool disableBackdropClick, bool noHeader)
 | 
			
		||||
	{
 | 
			
		||||
		DisableEscKey = disableEscKey;
 | 
			
		||||
		DisableBackdropClick = disableBackdropClick;
 | 
			
		||||
		NoHeader = noHeader;
 | 
			
		||||
		Type = type;
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user