Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline input won't show pre-loaded text #16

Open
JohnSchneider opened this issue Oct 7, 2016 · 3 comments
Open

Multiline input won't show pre-loaded text #16

JohnSchneider opened this issue Oct 7, 2016 · 3 comments

Comments

@JohnSchneider
Copy link

Using an input component with multiline="true" will not show pre-loaded text from a backing bean field. Simply removing multiline="true" results in the text being shown.

@JohnSchneider
Copy link
Author

I've debugged a bit and found that the textarea is being rendered with attributes "value", "type" and "length" which are not supported by the textarea tag. The value can be set with straight JavaScript, or with JQuery function "val".

@JohnSchneider
Copy link
Author

JohnSchneider commented Oct 7, 2016

Sorry, no JavaScript is needed. The value can be set by rendering as follows:

<textarea ...>The value goes here...</textarea>

@francesco-strazzullo
Copy link
Member

Ok thanks for the issue. I will fix this as soon as possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants