Browse Source
Merge pull request #12131 from abpframework/enisn/cmskit-autocompleteselect-fix
CMS Kit - Make author select clearable
pull/12133/head
Musa Demir
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Blogs/Index.cshtml
|
|
|
@ -28,6 +28,8 @@ |
|
|
|
|
|
|
|
<select id="AuthorSelect" asp-for="@Model.AuthorId" |
|
|
|
class="auto-complete-select" |
|
|
|
data-placeholder="@L["SelectAnAuthor"]" |
|
|
|
data-allow-clear="true" |
|
|
|
data-autocomplete-api-url="/api/cms-kit-public/blog-posts/authors" |
|
|
|
data-autocomplete-display-property="userName" |
|
|
|
data-autocomplete-value-property="id" |
|
|
|
|