<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>daigo-knowlbo</author_name>
  <author_url>https://blog.hatena.ne.jp/daigo-knowlbo/</author_url>
  <blog_title>ryuichi111stdの技術日記</blog_title>
  <blog_url>https://ryuichi111std.hatenablog.com/</blog_url>
  <categories>
    <anon>.NET</anon>
    <anon>Blazor</anon>
    <anon>C#</anon>
  </categories>
  <description>1. はじめに Blazorを調査しているときに、データバインディングについて理解していない段階で はまった ことを思い出したのでTipsとして書いておきます。 「inputタグに&quot;bind属性&quot;と&quot;onchange属性&quot;を両方つけると、（おそらく）想定した動きをしないよねー」という話です。 2. サンプル 具体的には以下のコードです。 # Pages/index.razor # @page &quot;/&quot; &lt;input type=&quot;text&quot; bind=&quot;@inputValue&quot; onchange=&quot;@(e =&gt; inputValueChanged(e.Value.ToString()) )&quot;/&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryuichi111std.hatenablog.com%2Fentry%2F2019%2F05%2F12%2F132636&quot; title=&quot;Blazor [tips]: bindとonchangeの併用は不可 - ryuichi111stdの技術日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/d/daigo-knowlbo/20190512/20190512132037.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-12 13:26:36</published>
  <title>Blazor [tips]: bindとonchangeの併用は不可</title>
  <type>rich</type>
  <url>https://ryuichi111std.hatenablog.com/entry/2019/05/12/132636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
