{{-- One platform setting as a form field, by its catalog type. Expects $key (and optional $hint, $wide). --}} @php $spec = \App\Domain\Settings\PlatformSettingsService::CATALOG[$key]; $hint ??= null; $wide ??= false; @endphp @switch($spec['type']) @case('bool')
$wide])>
@break @case('text') @break @case('time') @break @case('date') @break @case('int') @break @case('decimal') @case('percent') @break @default @endswitch