9 lines
396 B
PHP
9 lines
396 B
PHP
<td>
|
|
<label class="form-label">{{ $prop['label'] }}</label>
|
|
</td>
|
|
<td class="vueComponent">
|
|
<marker-label-select-component
|
|
name="{{ $fieldName }}"
|
|
db-value="{{ old($fieldName, $model->{$fieldName} ?? $prop['default'] ?? '') }}"
|
|
db-labels='@json($markerLabels->mapWithKeys(function($value, $key) { return [$key => ['code' => $key, 'label' => $value]]; }))'/>
|
|
</td>
|