We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31b2c7e commit aceaf5bCopy full SHA for aceaf5b
resources/views/admin/networkSwitches/edit.blade.php
@@ -75,7 +75,7 @@
75
<div class="row">
76
<div class="form-group">
77
<label for="physicalSwitches">{{ trans('cruds.networkSwitch.fields.physical_switches') }}</label>
78
- <select class="form-control select2 {{ $errors->has('physical_routers') ? 'is-invalid' : '' }}"
+ <select class="form-control select2 {{ $errors->has('physicalSwitches') ? 'is-invalid' : '' }}"
79
name="physicalSwitches[]" id="physicalSwitches" multiple>
80
@foreach($physicalSwitches as $id => $name)
81
<option value="{{ $id }}" {{ (in_array($id, old('physicalSwitches', [])) || $networkSwitch->physicalSwitches->contains($id)) ? 'selected' : '' }}>{{ $name }}</option>
0 commit comments