Unplanned
Last Updated: 08 Mar 2023 08:15 by Jimmy
Jimmy
Created on: 08 Mar 2023 08:15
Category: Form
Type: Feature Request
2
Add support for Email and Password DataAnnotation in Autogenerated Form

Currently, when the AutoGenerated form items are used, the data attributes such as Password and Email are ignored. Model sample:

    public class LoginModel
    {
        [Required, EmailAddress, Display(Name = "Email Address")]
        public string EmailAddress { get; set; }

        [Required, Phone, Display(Name = "Phone Number")]
        public string PhoneNumber { get; set; }
    }

0 comments