Skip to content

Commit

Permalink
Update FormHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
funadmin authored Sep 4, 2022
1 parent 66380b5 commit e43a0a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper/FormHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function arrays($name = '', $list = [], $options = [])
</button>
</div></div>';;
} else {
$arr .= '<div class="layui-form-item">' .'<label class="layui-form-label ' . $this->labelRequire($options) . '"></label>' . '<div class="layui-input-inline">
$arr .= '<div class="layui-form-item"><label class="layui-form-label ' . $this->labelRequire($options) . '"></label><div class="layui-input-inline">
<input '. $this->verify($options) . ' type="text" name="' . $name . '[key][]" value="' . $key . '" placeholder="' . lang('key') . '" autocomplete="off" class="layui-input input-double-width">
</div><div class="layui-input-inline">
<input '. $this->verify($options) . ' type="text" name="' . $name . '[value][]" value="' . $value . '" placeholder="' . lang('value') . '" autocomplete="off" class="layui-input input-double-width">
Expand Down

0 comments on commit e43a0a4

Please sign in to comment.