crud menu

This commit is contained in:
stasbilay02 committed 2024-08-30 16:14:31 +03:00
1 parent 5b4676a4c0
commit c325b156bd
28 files changed
+442 -132

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
<?php
namespace app\models\forms;
use kernel\FormModel;
class CreateMenuForm extends FormModel
{
public function rules(): array
{
return [
'parent_id' => '',
'icon_file' => '',
'icon_font' => '',
'label' => 'required|min-str-len:1|max-str-len:50',
'url' => 'required|min-str-len:1',
'status' => ''
];
}
}