File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ defmodule Backpex.Fields.Textarea do
59
59
type = "textarea "
60
60
field = { @ form [ @ name ] }
61
61
placeholder = { @ field_options [ :placeholder ] }
62
- rows = { @ field_options [ :rows ] || 2 }
62
+ rows = { @ field_options [ :rows ] }
63
63
translate_error_fun = { Backpex.Field . translate_error_fun ( @ field_options , assigns ) }
64
64
phx-debounce = { Backpex.Field . debounce ( @ field_options , assigns ) }
65
65
phx-throttle = { Backpex.Field . throttle ( @ field_options , assigns ) }
@@ -81,6 +81,7 @@ defmodule Backpex.Fields.Textarea do
81
81
type = "textarea "
82
82
field = { @ form [ @ name ] }
83
83
placeholder = { @ field_options [ :placeholder ] }
84
+ rows = { @ field_options [ :rows ] }
84
85
translate_error_fun = { Backpex.Field . translate_error_fun ( @ field_options , assigns ) }
85
86
phx-debounce = { Backpex.Field . debounce ( @ field_options , assigns ) }
86
87
phx-throttle = { Backpex.Field . throttle ( @ field_options , assigns ) }
You can’t perform that action at this time.
0 commit comments