From 8816fe00b0f68e5d783599e923fe8618f3c5bee2 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sun, 11 Oct 2026 21:08:10 +0100 Subject: [PATCH] fix: stop the search box wrapping onto a second line once a dropdown value is selected --- pipeline/source_assets/js/autocompleter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline/source_assets/js/autocompleter.js b/pipeline/source_assets/js/autocompleter.js index dcc5261a..99fbb391 100644 --- a/pipeline/source_assets/js/autocompleter.js +++ b/pipeline/source_assets/js/autocompleter.js @@ -50,7 +50,8 @@ function initPicker(select) { var noClear = 'noclear' in select.dataset; var multiple = select.multiple; var url = select.dataset.sourceurl; - var plugins = []; + // input_autogrow keeps the search box on the same line as the selected value (otherwise it wraps and doubles the height) + var plugins = ['input_autogrow']; if (multiple) { plugins.push('remove_button'); } else if (!noClear) {