duplicate fields when use Textarea (required) in RepeaterForm

when use this. and send empty title. duplicate files in forms Forms\Components\Repeater::make('options') ->relationship('options') ->label('options)') ->schema([ Textarea::make('title') ->required() ->label('متن گزینه') ->rows(1), TextInput::make('title') ->label('متن گزینه') ->required(), Toggle::make('is_correct')->label('cor') ])->defaultItems(4)->columnSpan(2)->grid(2) ->addable(false) ->deletable(false),
1 Reply
Dennis Koch
Dennis Koch8mo ago
What's your question? Why do both fields have the same name?