Skip to content

Commit

Permalink
always show placeholder text in fullwidth user selection fields (e-va…
Browse files Browse the repository at this point in the history
  • Loading branch information
janno42 authored Jul 7, 2024
1 parent fda2c4d commit 14fdbd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evap/evaluation/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
const baseOptions = {
createOnBlur: true,
placeholder: "{% translate 'Please select...' %}",
hidePlaceholder: true,
hidePlaceholder: element.hasAttribute("data-tomselect-fullwidth") ? false : true,
minimumInputLength,
render: {
option_create: (data, escape) => `<div class="create">${ escape(data.input) }</div>`,
Expand Down

0 comments on commit 14fdbd3

Please sign in to comment.