{{-- 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')