Skip to content

Commit

Permalink
Display Group Page : Set initial key on Display and Nested Display se…
Browse files Browse the repository at this point in the history
…lect2 dropdowns to ensure we populate them from localStorage.
  • Loading branch information
PeterMis committed Nov 6, 2023
1 parent 2ce2606 commit b9f9bc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/displaygroup-page.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
{ name: "data-search-term", value: "display" },
{ name: "data-search-term-tags", value: "tags" },
{ name: "data-id-property", value: "displayId" },
{ name: "data-text-property", value: "display" }
{ name: "data-text-property", value: "display" },
{ name: "data-initial-key", value: "displayId" },
] %}
{% set helpText %}{% trans "Return Display Groups that directly contain the selected Display." %}{% endset %}
{{ inline.dropdown("displayId", "single", title, "", null, "displayId", "display", helpText, "pagedSelect", "", "", "", attributes) }}
Expand Down

0 comments on commit b9f9bc2

Please sign in to comment.