priority menu item
This commit is contained in:
@ -11,6 +11,7 @@ use kernel\FormModel;
|
||||
* @property string $label
|
||||
* @property string $url
|
||||
* @property int $status
|
||||
* @property int priority
|
||||
* @property string $slug
|
||||
* @property string $parent_slug
|
||||
*/
|
||||
@ -26,7 +27,8 @@ class CreateMenuForm extends FormModel
|
||||
'url' => 'required|min-str-len:1',
|
||||
'status' => '',
|
||||
'slug' => 'required|min-str-len:1|max-str-len:50',
|
||||
'parent_slug' => ''
|
||||
'parent_slug' => '',
|
||||
'priority' => ''
|
||||
];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user