From 6d12c547e796995faea6a94fbdddaf11ccf12b11 Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Mon, 15 Sep 2025 16:42:53 +0100 Subject: [PATCH] Add password field --- app/Services/CustomFormBuilder.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/Services/CustomFormBuilder.php b/app/Services/CustomFormBuilder.php index 1b8758d9..27d392a8 100644 --- a/app/Services/CustomFormBuilder.php +++ b/app/Services/CustomFormBuilder.php @@ -21,6 +21,13 @@ class CustomFormBuilder ); } + public function password($name, $options = []) + { + return new HtmlString( + $this->html->input('password', $name)->attributes($options) + ); + } + public function hidden($name, $value = null, $options = []) { return new HtmlString(