The library contains a component, that nests itself into the Blazor EditForm instead of a wrapper around the EditForm. The component is able to generate a form based on a POCO or a ExpandoObject. Because of this architecture the library provides the developer flexibility and direct usage of the EditForm.
MIT License
119
stars
36
forks
source link
Add more specific datatype and more to the property. #9
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"
}
)
Let's have a discussion about the road to get to the kind of functionality as requested in issue #7 .
[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.
Any other ideas?