Auto-focus on the 'sub_part' field

This commit is contained in:
Oliver committed 2021-10-11 10:25:36 +11:00
1 parent 8dddb200c7
commit 00275d61eb
2 files changed
+2

No files matched your search

+1
View File
@@ -576,6 +576,7 @@ function loadBomTable(table, options) {
constructForm(`/api/bom/${pk}/`, {
fields: fields,
title: '{% trans "Edit BOM Item" %}',
focus: 'sub_part',
onSuccess: function() {
reloadBomTable(table);
}