public function editShippingForm(Form $form): Form
{
return $form->schema([
Repeater::make(__('labels.shipping_methods'))
->schema([
TextInput::make('erp_code')
->required()
->label(__('labels.erp_or_store')),
TextInput::make('store_code')
->label(__('labels.store_code'))
->required(),
])
->columns(2)
->addActionLabel(__('labels.new_entry'))
->statePath('shippingData')
]);
}
public function editShippingForm(Form $form): Form
{
return $form->schema([
Repeater::make(__('labels.shipping_methods'))
->schema([
TextInput::make('erp_code')
->required()
->label(__('labels.erp_or_store')),
TextInput::make('store_code')
->label(__('labels.store_code'))
->required(),
])
->columns(2)
->addActionLabel(__('labels.new_entry'))
->statePath('shippingData')
]);
}