Skip to content

Commit 5d3abc5

Browse files
authored
Merge pull request #54 from takielias/fix
Fix textarea row setup
2 parents d441cbe + 79ad718 commit 5d3abc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fields/TextareaField.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function render($value = null, array $globalConfig = []): string
3838
$component = new Textarea(
3939
name: $this->name,
4040
id: $this->attributes['id'] ?? null,
41-
rows: $this->rows
41+
rows: $this->getRows()
4242
);
4343

4444
return View::make($component->render()->name(), $component->data())

0 commit comments

Comments
 (0)