You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got an application I migrated from 5.3.4 -> 6 and I realized that when I type 20.1 in the input field, I got 201 in the ViewModel.
I created a new project from scratch and it works... I really don't understand what can be gone wrong
public class CreateMetalloViewModel
{
[Required]
[StringLength(128)]
public string Metallo { get; set; }
[Required]
[Display(Name ="Euro)]
public float Euro{ get; set; }
}
here I got 201 for Item.Euro
public async Task<IActionResult> OnPostAsync()
{
var dto = ObjectMapper.Map<CreateMetalloViewModel, CreateOrUpdateAnagraficaMetalloDto>(Item);
await _anagraficaMetalloAppService.CreateAsync(dto);
return NoContent();
}
I got an application I migrated from 5.3.4 -> 6 and I realized that when I type 20.1 in the input field, I got 201 in the ViewModel.
I created a new project from scratch and it works... I really don't understand what can be gone wrong
here I got 201 for Item.Euro
And the form is really simple
Any suggestion?
The text was updated successfully, but these errors were encountered: