Detailed steps to reproduce the issue on a fresh Nova installation:
Error on browser console
class OrcamentoUtilizacaoItem extends Repeatable
{
/**
* Get the fields displayed by the repeatable.
*
* @param NovaRequest $request
* @return array
*/
public function fields(NovaRequest $request)
{
return [
Text::make('Descrição', 'descricao'),
];
}
}
Action Class:
public function fields($request)
{
return [
Repeater::make('Line Items')
->repeatables([
\App\Nova\Repeater\OrcamentoUtilizacaoItem::make(),
]),
];
}
Description:
Repeatable fields not working in Action fields
Detailed steps to reproduce the issue on a fresh Nova installation:
Error on browser console
Action Class: