Passing value to textarea. Is it possible? #503
Unanswered
rossaddison
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@terabytesoftw could you take a look? |
Beta Was this translation helpful? Give feedback.
1 reply
-
@rossaddison according to https://github.com/yiisoft/form/blob/d2333f9a0a77f6dcb00db1ab8ee95ec4426ea133/src/Field/Text.php#L247 you need to set the object property value and it should work |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following code in view\invoice\inv\mailer_invoice.php:
I would like to pass an email template to a textarea. But textareas by default do not accept a value attribute whereas textboxes do as illustrated in the code above. The above code works for a textbox but as expected there is limited space to work in with the text box. Is it possible to pass value to a textarea in Yii?
Beta Was this translation helpful? Give feedback.
All reactions