mirror of https://github.com/abpframework/abp.git
1 changed files with 19 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Linq; |
||||
|
using System.Threading.Tasks; |
||||
|
using Microsoft.AspNetCore.Mvc.Rendering; |
||||
|
|
||||
|
namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form |
||||
|
{ |
||||
|
[AttributeUsage(AttributeTargets.Property)] |
||||
|
public class SelectItems: Attribute |
||||
|
{ |
||||
|
public IEnumerable<SelectListItem> Items { get; set; } |
||||
|
|
||||
|
public SelectItems(IEnumerable<SelectListItem> items) |
||||
|
{ |
||||
|
Items = items; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue