From a187cd3bf3c71a9d3f0e357f14d08ef4c608e810 Mon Sep 17 00:00:00 2001 From: Kirik Date: Wed, 5 Nov 2025 15:30:07 +0100 Subject: [PATCH] =?UTF-8?q?Add=20'=D0=9F=D1=80=D0=B5=D0=B4=D0=BB=D0=BE?= =?UTF-8?q?=D0=B6=D0=B8=D1=82=D1=8C=20=D1=81=D0=B2=D0=BE=D0=B5'=20option?= =?UTF-8?q?=20to=20trip=20selection=20dropdown?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/trip-form-loader.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/js/trip-form-loader.js b/static/js/trip-form-loader.js index 21bed56..f3ace04 100644 --- a/static/js/trip-form-loader.js +++ b/static/js/trip-form-loader.js @@ -67,6 +67,12 @@ class TripFormLoader { select.appendChild(option); }); + // Добавляем опцию "Предложить свое" + const customOption = document.createElement('option'); + customOption.value = 'Предложить свое'; + customOption.textContent = 'Предложить свое'; + select.appendChild(customOption); + console.log(`✅ Dropdown формы заполнен: ${activeTrips.length} активных поездок`); }