16 lines
578 B
PHP
16 lines
578 B
PHP
<div class="col-3 border border-secondary py-1 px-1">
|
|
<label class="form-label">{{ $prop['label'] }}</label>
|
|
</div>
|
|
<div class="col-9 border border-secondary py-1 px-1">
|
|
@php
|
|
$dataVue = [
|
|
'name' => 'label',
|
|
'value' => old($fieldName, $model->{$fieldName} ?? $prop['default'] ?? ''),
|
|
'labels' => $markerLabels->mapWithKeys(function($value, $key) { return [$key => ['code' => $key, 'label' => $value]]; })
|
|
];
|
|
@endphp
|
|
<div
|
|
id="marker-label-select"
|
|
class="sticky-top"
|
|
data-json='@json($dataVue)'></div>
|
|
</div>
|