question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bind can be improved for <textarea>

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
RyoukoKonpakucommented, Mar 29, 2018

@SteveSandersonMS Sounds easy enough xD can I give it a shot?

0reactions
SteveSandersonMScommented, Mar 30, 2018

Resolved in aspnet/Blazor#439

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found