Input select not being generated from Enum
- Dominant language
- C#
- Stars
- 818
- Forks
- 260
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 10
Description
My class is shown below, when I generate using the Blazor CRUD Scaffolding it generates rather than an Input Select.
`
EmployeeType:
`
`namespace BlazorApp5Rubbish
{
using System.ComponentModel.DataAnnotations;
public class Employee
{
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string? Name { get; set; }
[Required]
public EmployeeType EmployeeType { get; set; }
[Required]
[DataType(DataType.Date)]
public DateTime? DateOfBirth { get; set; }
[Required]
[MaxLength(255)]
public string? EmailAddress { get; set; }
public bool IsActive { get; set; }
}
public enum EmployeeType
{
Permanant = 0,
Contract = 1
}
}
`
Contributor guide
Assessment
This issue has not been assessed yet.