Closed robdmoore closed 10 years ago
@robdmoore I think TabIndex
, AutoFocus
etc (including Placeholder
) are better implemented as extension methods, since these methods just need adding the entries to Attributes dictionary? This way the IFieldConfiguration
interface need not be modified/bloated?
Your thoughts?
Hi @Chandu!
Awesome idea - I completely agree.
Add a
TabIndex(int index)
method inIFieldConfiguration
that addstabindex="{index}"
to the field.See the Placeholder method for an example of a similar method and find usages to see where it's been tested etc.
Trello Issue: https://trello.com/c/LUTMVmdD/155-tabindex-on-ifieldconfiguration