Commit 19d88d2e by lujunyi

添加医药

parent b09e60f3
......@@ -70,7 +70,7 @@ protected function form()
{
return Form::make(new DrugUnitRepository(), function (Form $form) {
$form->display('id')->width(4);
$form->text('name')->width(4)->maxLength(32, '最多输入32个字符');
$form->text('name')->width(4)->required()->maxLength(32);
$form->display('created_at')->width(4);
$form->display('updated_at')->width(4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment