From 5271f149989d7259afdbeb39cade9b9b0affa212 Mon Sep 17 00:00:00 2001 From: David Toews Date: Mon, 1 Oct 2018 16:20:33 -0600 Subject: [PATCH 1/2] Allows placeholder value of '0' --- code/Model/EditableFormField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Model/EditableFormField.php b/code/Model/EditableFormField.php index ddff655..5b52c80 100755 --- a/code/Model/EditableFormField.php +++ b/code/Model/EditableFormField.php @@ -772,7 +772,7 @@ class EditableFormField extends DataObject } // if this field has a placeholder - if ($this->Placeholder) { + if (strlen($this->Placeholder) >= 0) { $field->setAttribute('placeholder', $this->Placeholder); } } From 20ff59c0f8d5ca655913501d7148024982221fe8 Mon Sep 17 00:00:00 2001 From: Robbie Averill Date: Wed, 7 Nov 2018 16:45:40 +0200 Subject: [PATCH 2/2] Remove obsolete branch alias --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index 95f8ad4..b4344a9 100644 --- a/composer.json +++ b/composer.json @@ -50,9 +50,6 @@ "silverstripe/gridfieldqueuedexport": "Export large submission as CSV through queued jobs in the background" }, "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - }, "expose": [ "client/dist", "client/lang",