Enis Necipoglu
2 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
2 changed files with
10 additions and
2 deletions
-
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Menus/MenuItems/CreateModal.cshtml
-
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Pages/CmsKit/Menus/MenuItems/createModal.js
|
|
|
@ -34,7 +34,15 @@ |
|
|
|
|
|
|
|
<label class="form-label" asp-for="ViewModel.PageId"></label> |
|
|
|
|
|
|
|
<select class="form-control" asp-for="ViewModel.PageId"></select> |
|
|
|
<select asp-for="ViewModel.PageId" |
|
|
|
class="auto-complete-select" |
|
|
|
data-autocomplete-api-url="/api/cms-kit-admin/menu-items/lookup/pages" |
|
|
|
data-autocomplete-display-property="title" |
|
|
|
data-autocomplete-value-property="id" |
|
|
|
data-autocomplete-items-property="items" |
|
|
|
data-autocomplete-filter-param-name="filter" |
|
|
|
data-autocomplete-allow-clear="true"> |
|
|
|
</select> |
|
|
|
|
|
|
|
<span asp-validation-for="ViewModel.PageId"></span> |
|
|
|
</abp-tab> |
|
|
|
|
|
|
|
@ -9,7 +9,7 @@ $(function () { |
|
|
|
var $displayName = $('#ViewModel_DisplayName'); |
|
|
|
var $pageIdClearButton = $('#url-tab'); |
|
|
|
|
|
|
|
initSelectPageId(); |
|
|
|
//initSelectPageId();
|
|
|
|
|
|
|
|
$pageId.on('change', function (params) { |
|
|
|
$url.prop('disabled', $pageId.val()); |
|
|
|
|