@include('components.inputs._inputType',[
"for" => null,
"label" => "Nome da mãe completo",
"name" => "nomeMae",
"id" => null,
"required" => true,
"type" => null,
"old" => old('nomeMae', $pessoa?->nomeMae),
"oninput" => "javascript:this.value = this.value.toLocaleUpperCase('pt-BR').replace(/[^\p{L}\s]+/gu, '').replace(/\s{2,}/g,' ').trimStart()",
"readonly" => false,
"small" => null,
])
@include('components.inputs._inputType',[
"for" => null,
"label" => "Nome do pai completo",
"name" => "nomePai",
"id" => null,
"required" => false,
"type" => null,
"old" => old('nomePai', $pessoa?->nomePai),
"oninput" => "javascript:this.value = this.value.toLocaleUpperCase('pt-BR').replace(/[^\p{L}\s]+/gu, '').replace(/\s{2,}/g,' ').trimStart()",
"readonly" => false,
"small" => null,
])
@include('components.inputs._inputType',[
"for" => null,
"label" => "Data de Nascimento",
"name" => "dtaNascimento",
"id" => null,
"required" => true,
"type" => "date",
"old" => old('dtaNascimento', $pessoa?->dtaNascimento),
"oninput" => "",
"readonly" => false,
"small" => null,
])
@include('components.inputs._selectType', [
"for" => "sexo",
"label" => "Sexo",
"name" => "sexo",
"required" => true,
"readonly" => false,
"options" => collect(App\Enums\StatusSexo::cases())
->mapWithKeys(fn($status) => [$status->name => $status->value])
->toArray(),
"selected" => old('sexo', $pessoa?->sexo ?? 'NAO_INFORMADO'),
"placeholder" => "Selecione uma opção...",
"small" => "Informe o sexo.",
"onchange" => null
])