Browse Source

修复radio表单required验证规则无效问题

jqh 4 years ago
parent
commit
eef6fb18d7
1 changed files with 2 additions and 0 deletions
  1. 2 0
      resources/views/form/radio.blade.php

+ 2 - 0
resources/views/form/radio.blade.php

@@ -6,6 +6,8 @@
 
         @include('admin::form.error')
 
+        <input type="hidden" name="{{$name}}">
+
         {!! $radio !!}
 
         @include('admin::form.help-block')