Sami
09/15/2021, 10:05 AMSami
09/15/2021, 10:05 AMRoute [admin.categories.edit] not defined.Sami
09/15/2021, 10:07 AMtwill.php under block_editor
php
'browser_route_prefixes' => [
'articles' => 'blog',
'category' => 'blog',
],
and also the browser is specified as this:
php
@formField('browser', [
'moduleName' => 'categories',
'routePrefix' => 'blog',
'name' => 'category',
'label' => 'Kategorie'
])Sami
09/15/2021, 10:08 AMifox
09/15/2021, 10:45 AMifox
09/15/2021, 10:46 AMSami
09/15/2021, 10:51 AM`Sebastlan
09/15/2021, 11:23 AMIvan Markov
09/15/2021, 11:29 AM`Sebastlan
09/15/2021, 11:30 AM`Sebastlan
09/15/2021, 11:30 AMKlief
09/15/2021, 2:36 PMIvan Markov
09/15/2021, 9:41 PMifox
09/15/2021, 9:59 PMsapta34
09/16/2021, 7:18 AMifox
09/16/2021, 7:47 AMafterSave for exemple.sapta34
09/16/2021, 8:47 AMSami
09/16/2021, 11:44 AMifox
09/16/2021, 11:51 AMifox
09/16/2021, 11:52 AMifox
09/16/2021, 11:53 AMSami
09/16/2021, 12:01 PMeventVariants and it's basically variation of an Event. So the Event form has this repeater:
php
@section('fieldsets')
@formFieldset(['id' => 'variants', 'title' => 'Variants'])
@formField('repeater', ['type' => 'event_variants'])
@endformFieldset
@stop
In EventRequest, how do I specify that I want to validate let's say title of EventVariant that is being created? My current EventRequest looks like this:
php
public function rulesForUpdate()
{
return $this->rulesForTranslatedFields([], [
'title' => 'required',
'description' => 'required|max:1000',
'previewDescription' => 'max:200',
]);
}
all the validated fields are from Event module itselfsapta34
09/16/2021, 12:05 PMwicky
09/16/2021, 12:08 PMSami
09/16/2021, 12:09 PMSami
09/16/2021, 12:09 PMsapta34
09/16/2021, 12:10 PMpboivin
09/16/2021, 12:54 PMSami
09/16/2021, 2:31 PMpboivin
09/16/2021, 2:42 PM