From 2a4fef6a61ae7e0794934d7843ed4ecc808829ee Mon Sep 17 00:00:00 2001 From: Sam <1631095+takuy@users.noreply.github.com> Date: Wed, 18 Jul 2018 22:55:13 -0400 Subject: [PATCH] adds select-id as an option for the asset-select partial. allows you to manually override the ID of an element. currently, the bulk-checkout partial has two asset-selects, with conflicting IDs. attempts to resolve #5882 (#5883) --- resources/views/hardware/bulk-checkout.blade.php | 1 + resources/views/partials/forms/edit/asset-select.blade.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/hardware/bulk-checkout.blade.php b/resources/views/hardware/bulk-checkout.blade.php index c64999833a..dc43b91d2a 100644 --- a/resources/views/hardware/bulk-checkout.blade.php +++ b/resources/views/hardware/bulk-checkout.blade.php @@ -73,6 +73,7 @@ 'fieldname' => 'selected_assets[]', 'multiple' => true, 'asset_status_type' => 'RTD', + 'select_id' => 'assigned_assets_select', ]) diff --git a/resources/views/partials/forms/edit/asset-select.blade.php b/resources/views/partials/forms/edit/asset-select.blade.php index bcd074f333..618dcc6a53 100644 --- a/resources/views/partials/forms/edit/asset-select.blade.php +++ b/resources/views/partials/forms/edit/asset-select.blade.php @@ -2,7 +2,7 @@