- Remove external JS and CSS dependencies - Use Vuejs runtime - Add xss sanitizer - Normalize Laravel mix + add cleaner - Update npm deps - Upgrade bootswatch theme
16 lines
478 B
PHP
16 lines
478 B
PHP
<td>
|
|
<label class="form-label">{{ $prop['label'] }}</label>
|
|
</td>
|
|
<td>
|
|
@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>
|
|
</td>
|