mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge branch '5.3'
This commit is contained in:
commit
3a440472e8
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user