RepeatableEntry::make('properties')
->schema([
Grid::make(2)
->schema([
TextEntry::make('construction_id')
->formatStateUsing(fn (string $state): string => (Construction::find($state)?->name ?? 'Stage has been deleted'))
->inlineLabel()->label(false),
TextEntry::make('percent')
->inlineLabel()->label(false),
])
])
RepeatableEntry::make('properties')
->schema([
Grid::make(2)
->schema([
TextEntry::make('construction_id')
->formatStateUsing(fn (string $state): string => (Construction::find($state)?->name ?? 'Stage has been deleted'))
->inlineLabel()->label(false),
TextEntry::make('percent')
->inlineLabel()->label(false),
])
])