Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in $().SPServices.SPDropdownCtl #70

Open
lscorcia opened this issue Mar 9, 2018 · 0 comments
Open

Error in $().SPServices.SPDropdownCtl #70

lscorcia opened this issue Mar 9, 2018 · 0 comments

Comments

@lscorcia
Copy link

lscorcia commented Mar 9, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant