priority menu item

This commit is contained in:
2024-09-24 14:57:25 +03:00
parent a48088581f
commit cb2c719b1b
12 changed files with 29 additions and 14 deletions

View File

@ -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' => ''
];
}
}