From ddb17cc47360910b3875b88e10e14f91fcd875be Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Tue, 10 Sep 2024 11:41:16 +0300 Subject: [PATCH] add enctypy --- src/ActiveForm.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ActiveForm.php b/src/ActiveForm.php index ced9893..367724f 100755 --- a/src/ActiveForm.php +++ b/src/ActiveForm.php @@ -31,9 +31,9 @@ class ActiveForm * @param string $action * @return void */ - public function beginForm(string $action): void + public function beginForm(string $action, string $enctype = 'application/x-www-form-urlencoded'): void { - echo "
"; + echo ""; } /**