Skip to content

Commit

Permalink
feat: change the ap-tom-select default delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Nov 12, 2024
1 parent b84935f commit c2d4d70
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ckanext/ap_main/assets/js/ap-tom-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ ckan.module("ap-tom-select", function ($) {
},
loadUrl: null,
create: true,
delimiter: " ",
},

initialize() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<input
id="{{ 'field-' + field.field_name }}"
name="{{ field.field_name }}"
value="{{ value | join(',') }}"
value="{{ data[field.field_name] }}"
placeholder="{{ field.placeholder }}"
autocomplete="off"
{% if h.scheming_field_required(field) %}required{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ckanext-admin-panel"
version = "1.0.17"
version = "1.1.18"
description = "Custom admin panel for CKAN to expand default functionality"
authors = [
{ name = "DataShades", email = "[email protected]" },
Expand Down

0 comments on commit c2d4d70

Please sign in to comment.