Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

172
Vistas
Bind value of blazor
<EditForm Model="cust" OnSubmit="HandleSubmit">
    <InputNumber @bind-Value="@(this.Id == null? this.idNuM :cust._nunuy)" class="form-control"></InputNumber>
</EditForm>

I get this error:

Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type

The type arguments for method 'RuntimeHelpers.CreateInferredEventCallback(object, Action, T)' cannot be inferred from the usage. Try specifying the type arguments explicitly.

I tried it:

<EditForm Model="cust" OnSubmit="HandleSubmit">
    <InputNumber @bind-Value="@(this.Id == null? (ulong)this.idNuM : (long)cust._nunuy)" class="form-control"></InputNumber>
</EditForm>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Try this.

<EditForm Model="cust" OnSubmit="HandleSubmit">
    <InputNumber @bind-Value="@(() =>this.Id == null? this.idNuM :cust._nunuy)" class="form-control"></InputNumber>
</EditForm>
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda