diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 356e3e83f..739254602 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -16,6 +16,7 @@ - fix: navigation (Wouter van Oijen / ProcoliX) - Fixed typo in template variable project.gantt.rowspan and documentation - fix: Events Calendar Double Date (Wouter van Oijen / ProcoliX) + - fix: Data Form Text Area Box Non-Existent (Wouter van Oijen / ProcoliX) 7.0.2 diff --git a/lib/WebGUI/Form/Textarea.pm b/lib/WebGUI/Form/Textarea.pm index a6dde4f04..91620cc38 100644 --- a/lib/WebGUI/Form/Textarea.pm +++ b/lib/WebGUI/Form/Textarea.pm @@ -113,7 +113,9 @@ sub toHtml { $resize = ''.$i18n->get('; } my $value = $self->fixMacros($self->fixTags($self->fixSpecialCharacters($self->get("value")))); - my $style = "width: ".$self->get('width')."px; height: ".$self->get('height')."px; ".$self->get("style"); + my $width = $self->get('width') || 400; + my $height = $self->get('height') || 150; + my $style = "width: ".$width."px; height: ".$height."px; ".$self->get("style"); return ''.$resize; }