Aaltuj/VxFormGenerator

Add more specific datatype and more to the property.

Aaltuj opened this issue · 0 comments

Let's have a discussion about the road to get to the kind of functionality as requested in issue #7 .

Also would you be able to shed some light on how to implement a different type of InputText if a POCO property were to be decorated with a DataType of Password or Email?

[DataType(DataType.Password)] public string Password { get; set; }

Instead of heaving a lot of Attributes to check when rendering maybe there should be only a couple of them tailored for the VxFomGenerator. This allows for a clearer overview of the possible options provided by the generator.

// PSUEDO CODE

VxFormField(
{
 DataType: DataType.Password,
 Label: "Label of the field" 
}
)

Any other ideas?