bind can be improved for <textarea>
See original GitHub issueI have to do this in order to get the initial value loaded into the textarea:
<textarea @bind(myvar)>@myvar</textarea>
It would be nicer and more consistent with <input>
if this would work the same way:
<textarea @bind(myvar)></textarea>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Binding the value in a textarea - angular
I'm trying to do the simplest two way binding in Angular2. I would like to share a variable between my component and it's...
Read more >Form Input Bindings
When dealing with forms on the frontend, we often need to sync the state of form input elements with corresponding state in JavaScript....
Read more >Simplify Your Blazor Apps Using .NET 7's New Bind Modifiers
I've defined a textarea input and bound it to a field called bio . With this, any changes to the textarea value will...
Read more >Detect if textarea content has changed with JavaScript/jQuery
This post will discuss how to detect if textarea content has changed with JavaScript and jQuery... With jQuery, you can bind the input...
Read more >Make a Textarea Auto Resize to fit Contents
On a current project, I was trying to find a way to auto-resize a textarea according to some content that would be loaded...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@SteveSandersonMS Sounds easy enough xD can I give it a shot?
Resolved in aspnet/Blazor#439