2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 04:25:42 +00:00

Improved template render, raised bar for automatic field matching

This commit is contained in:
eeintech
2021-05-10 12:52:34 -04:00
parent f0932040ee
commit 6d8f94619b
4 changed files with 39 additions and 7 deletions

View File

@ -86,4 +86,14 @@
{% endblock form_content %}
{% block form_buttons_bottom %}
{% endblock form_buttons_bottom %}
{% endblock form_buttons_bottom %}
{% block js_ready %}
{{ block.super }}
$('.fieldselect').select2({
width: '100%',
matcher: partialMatcher,
});
{% endblock %}

View File

@ -99,4 +99,8 @@ $('.bomselect').select2({
matcher: partialMatcher,
});
$('.currencyselect').select2({
dropdownAutoWidth: true,
});
{% endblock %}