Unplanned
Last Updated: 03 May 2021 06:27 by ADMIN
Mark
Created on: 03 May 2021 06:27
Category: Wizard
Type: Feature Request
1
The Wizard should be able to use the model's data annotation attributes

Currently, to set a field's label and text the Wizard's Label() and Title() options must be used:

items
	.Add()
	.Field(p => p.DropdownId)
	.Label(l => l.Text("Dropdown"))
	.Title("Dropdown")

It would be helpful if the Wizard can be configured to get these from the data annotation attributes in the model:

[Display(Name = "Dropdown")]
public int DropdownId{ get; set; }

0 comments