mirror of
https://github.com/snipe/snipe-it.git
synced 2026-03-02 06:18:50 +00:00
Set asset selector to true for components since it will always be required
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@ -26,7 +26,7 @@
|
||||
|
||||
<div class="box-body">
|
||||
<!-- Asset -->
|
||||
@include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.select_asset'), 'fieldname' => 'asset_id', 'company_id' => $component->company_id])
|
||||
@include ('partials.forms.edit.asset-select', ['translated_name' => trans('general.select_asset'), 'fieldname' => 'asset_id', 'company_id' => $component->company_id, 'required' => 'true', 'value' => old('asset_id')])
|
||||
|
||||
<div class="form-group {{ $errors->has('assigned_qty') ? ' has-error' : '' }}">
|
||||
<label for="assigned_qty" class="col-md-3 control-label">
|
||||
|
||||
Reference in New Issue
Block a user