title: how to put a bind-value and an onchange in the same input checkbox?
body: <p>hello community I have a problem putting a <code>bind-value</code> and an <code>onchange</code> shows me the following error:</p>
  <pre><code>The attribute 'onchange' is used two or more times for this element. Attributes must be unique (case-insensitive). The attribute 'onchange' is used by the '@bind' directive attribute.
  </code></pre>
  <p>this is my <code>input checkbox</code>:</p>
  <pre><code>&lt;div class=&quot;form-group col-md-2&quot;&gt;
    &lt;div class=&quot;custom-control custom-switch&quot;&gt;
  &lt;input type=&quot;checkbox&quot; class=&quot;custom-control-input&quot; id=&quot;customSwitch1&quot;
         @bind-value=&quot;@ProveedorEstadoCarrito.Cotizacion.Aceptada&quot;
         @onchange=&quot;e =&gt; CheckChanged(e)&quot;&gt;
  &lt;label class=&quot;custom-control-label&quot; for=&quot;customSwitch1&quot;&gt;Aceptada&lt;/label&gt;
   &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>this is the event:</p>
  <pre><code>private Boolean Aceptada = false;
  private async Task CheckChanged(ChangeEventArgs ev)
  {
      Aceptada = (Boolean)ev.Value;
      ProveedorEstadoCarrito.Cotizacion.Aceptada = Aceptada;       
      if (Aceptada == true)
      {
          var httpResponse = await repositorio.Put(&quot;api/Cotizacion&quot;, ProveedorEstadoCarrito.Cotizacion);
          if (httpResponse.Error)
          {
              await mostrarMensajes.MostrarMensajeError(await httpResponse.GetBody());
          }
          else
          {
              navigationManager.NavigateTo(&quot;/formulario-cotizacion&quot;);
          }
      }
  }  
  </code></pre>
  <p>I want the checkbox to be activated with the <code>bind</code> if it was clicked</p>