From 8d69cf9f758abe7e495ba300a8bd81cc624a29c3 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Wed, 18 Dec 2019 17:32:02 +1300 Subject: [PATCH 1/2] BUG Remove bad default when scaffolding form field for DBHTMLVarchar --- src/ORM/FieldType/DBHTMLVarchar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/FieldType/DBHTMLVarchar.php b/src/ORM/FieldType/DBHTMLVarchar.php index 5343790b3..67bdd98cd 100644 --- a/src/ORM/FieldType/DBHTMLVarchar.php +++ b/src/ORM/FieldType/DBHTMLVarchar.php @@ -124,7 +124,7 @@ class DBHTMLVarchar extends DBVarchar public function scaffoldFormField($title = null, $params = null) { - return HTMLEditorField::create($this->name, $title, 1); + return HTMLEditorField::create($this->name, $title)->setRows(1); } public function scaffoldSearchField($title = null) From 31a8c16c43487d3647ab67ac8241d5837467cab3 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Tue, 7 Jan 2020 09:13:03 +1300 Subject: [PATCH 2/2] Remove default row size --- src/ORM/FieldType/DBHTMLVarchar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/FieldType/DBHTMLVarchar.php b/src/ORM/FieldType/DBHTMLVarchar.php index 67bdd98cd..6830a43bf 100644 --- a/src/ORM/FieldType/DBHTMLVarchar.php +++ b/src/ORM/FieldType/DBHTMLVarchar.php @@ -124,7 +124,7 @@ class DBHTMLVarchar extends DBVarchar public function scaffoldFormField($title = null, $params = null) { - return HTMLEditorField::create($this->name, $title)->setRows(1); + return HTMLEditorField::create($this->name, $title); } public function scaffoldSearchField($title = null)