SelectListItem - add attributes property

Topics: ASP.NET MVC, ASP.NET Web Pages
Aug 22, 2013 at 5:54 PM
Can attributes be added to SelectListItem? it's cumbersome that DropDownList, CheckboxList don't allow we set attributes on list item. I think this is a must-have feature from v1
Aug 23, 2013 at 6:53 PM

This is indeed a popular request. There is an issue logged for this item so if you feel this is important please add your vote to it:

We are right now at the end of this release but I agree this would be a very useful feature and we would love to add it in a future release.