Aaltuj / VxFormGenerator

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

Use Order property in DisplayAttribute to order fields #13

Closed bramnauta closed 3 years ago

bramnauta commented 3 years ago

The order of fields is currently determined by the order of the properties in the class. DisplayAttribute, which is already used for the title of the field, already contains a property called Order. This patch makes VxFormGenerator order fields by using the Order property.

Aaltuj commented 3 years ago

Thanks for the addition, will go with the next release.