Add password field

This commit is contained in:
Chris Hunt
2025-09-15 16:42:53 +01:00
parent 31f1ba8192
commit 6d12c547e7

View File

@@ -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(