Hi, as i understand from the docs,
new TextareaField(
$name = "description",
$title = "Description",
$rows = 8,
$cols = 3,
$value = "This is the default description"
);
However, when i tried to add a new textfield to a page:
function getCMSFields() {
...
$fields->addFieldToTab("Root.Content", new TextareaField('test', 'test', 5, 10, 'default value'));
...
}
The textarea comes up with a blank content value.
The same "bug" occurs when using derivatives of TextareaField
Can anyone do a quick test on the latest 2.4.6 and check if this happens for you too?