Repeater::simple does not exist

I am using a repeater with the simple method, but I get this error:

Section::make('Pro Cons')
    ->schema([
        Repeater::make('Pro')
            ->simple(
                TextInput::make('pro'),
        ),

        Repeater::make('Cons')
            ->simple(
                TextInput::make('cons'),
        )
    ])
    ->collapsible(),


>Method Filament\Forms\Components\Repeater::simple does not exist.

I also take this opportunity to ask, I currently have data within a saved sql column, each element is separated by |:

Little choice in weapons|IA sometimes unresponsive


How should I convert it to fit filamentphp? I need to create an example pivot column:

  Schema::create('review_pivot_cons', function (Blueprint $table) {
      $table->id();
      $table->unsignedBigInteger('review_id');
      $table->unsignedBigInteger('cons');
      $table->timestamps();

      $table->foreign('review_id')->references('id')->on('review')->onDelete('cascade');
  });

could it work? In the case, how do I "populate" the textinputs?
Was this page helpful?