From f2516209174463d7696a8a95e35bda6726be54e4 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Sun, 7 Jul 2019 11:24:40 +1000 Subject: [PATCH] select2ify part selection --- .../part/templates/part/bom_upload/select_parts.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/InvenTree/part/templates/part/bom_upload/select_parts.html b/InvenTree/part/templates/part/bom_upload/select_parts.html index 9904175be5..25421d7173 100644 --- a/InvenTree/part/templates/part/bom_upload/select_parts.html +++ b/InvenTree/part/templates/part/bom_upload/select_parts.html @@ -47,7 +47,7 @@ {% for item in row.data %} {% if item.column.guess == 'Part' %} - {% for part in allowed_parts_list %} @@ -71,4 +71,11 @@ +{% endblock %} + +{% block js_ready %} +{{ block.super }} + +$('.bomselect').select2(); + {% endblock %} \ No newline at end of file