import { useForm } from '@inertiajs/react';
import { Management } from '../management/shared';
import { Field, input, button, card, groupLabels } from './shared';
import type { Option } from './shared';
export default function References({ options }: { options: Option[] }) {
const groups = [...new Set(options.map((o) => o.group))];
return (
Os códigos são estáveis; pode corrigir etiquetas ou desactivar
opções sem eliminar referências históricas. Cada grupo conserva
Outro — especificar.
{groupLabels[group] ?? group}