Commit 8079e15f by 宁成龙

完善输入体验

parent edfaec33
......@@ -34,7 +34,7 @@ class CreateUser extends \Dcat\Admin\Support\LazyRenderable
$form->width(4)->text('last_name')->required();
});
$form->row(function (Form\Row $form) {
$form->width(4)->text('phone')->required();
$form->width(4)->number('phone')->required();
$form->width(4)->email('email')->required();
});
$form->row(function (Form\Row $form) {
......
......@@ -15,8 +15,8 @@ class UserAddressService
{
$grid->column('address_id');
$grid->column('consignee');
$grid->column('email');
$grid->column('phone');
$grid->email('email');
$grid->number('phone');
$grid->column('detail_address');
$grid->column('city');
$grid->column('address_type')->using(admin_trans('user-address.options.address_type'));
......
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