From e5349386b71b09c45ab6e2182ebaeab512c1fd05 Mon Sep 17 00:00:00 2001 From: liyinglin Date: Fri, 27 Oct 2023 16:29:20 +0800 Subject: [PATCH] 1 --- app/Forms/AskSubmitForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Forms/AskSubmitForm.php b/app/Forms/AskSubmitForm.php index da7fee4..2c1ec1e 100755 --- a/app/Forms/AskSubmitForm.php +++ b/app/Forms/AskSubmitForm.php @@ -36,7 +36,7 @@ class AskSubmitForm extends Form "rules" => "required", 'attr' => ['placeholder' => '18-20分满意,15-17分较满意,14分及以下不满意'] ]); - $this->add("tip", Field::TEXTAREA, ["label" => "建议"]); + $this->add("tip", Field::TEXT, ["label" => "建议"]); $this->add('buttons', 'buttongroup', ["splitted" => true, "buttons" => [ ["label" => "保存", "attr" => ["class" => "btn btn-primary mr-1", "type" => "submit"]], ["label" => "返回", "attr" => ["class" => "btn btn-light btn-back", "type" => "button"]]