Error in $().SPServices.SPDropdownCtl
lscorcia opened this issue · comments
Hello,
I have found a bug in SPDropdownCtl when used on SP2010 (possibly only on localized sites, using Italian here and I don't have an English site around for further testing).
Calls to $().SPServices.SPDropdownCtl
fail when the dropdown is a required field. In this case Sharepoint sets the title
attribute on the select as ' Campo obbligatorio' (which translates as ' Required field'); thus the selector $("select[Title='" + opt.displayName + "']")
fails.
This causes lots of problems in filter dropdowns and other customizations which worked fine under previous versions.
Right now the workaround is to explicitly set the tooltip using jquery before activating SPServices functions, since Sharepoint:FormField doesn't allow setting the title attribute in server side code.