|
|
@ -1,4 +1,4 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using System.Linq; |
|
|
using System.Linq; |
|
|
using Microsoft.AspNetCore.Mvc.Rendering; |
|
|
using Microsoft.AspNetCore.Mvc.Rendering; |
|
|
@ -23,16 +23,16 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Form |
|
|
while (properties.Count == 0) |
|
|
while (properties.Count == 0) |
|
|
{ |
|
|
{ |
|
|
explorer = explorer.Container; |
|
|
explorer = explorer.Container; |
|
|
properties = explorer.Container.Properties.Where(p => p.Metadata.PropertyName.Equals(ItemsListPropertyName)).ToList(); |
|
|
|
|
|
|
|
|
|
|
|
if (explorer.Container == null) |
|
|
if (explorer.Container == null) |
|
|
{ |
|
|
{ |
|
|
return null; |
|
|
return null; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
properties = explorer.Container.Properties.Where(p => p.Metadata.PropertyName.Equals(ItemsListPropertyName)).ToList(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var selectItems = (properties.First().Model as IEnumerable<SelectListItem>).ToList(); |
|
|
var selectItems = (properties.First().Model as IEnumerable<SelectListItem>).ToList(); |
|
|
|
|
|
|
|
|
return selectItems; |
|
|
return selectItems; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|