When using the module for exposed views forms, I get extra spaces before and after the placeholder value. Adding $trim to the js file seems to fix the issue.
In line 37 of form_placeholder.js:
from: $textfield.attr('placeholder', $label.text());
to: $textfield.attr('placeholder', $trim($label.text()));
Comments
Comment #1
rafalenden commentedThanks, fix commited to dev version.
Comment #2
rafalenden commentedMarking as fixed.
Comment #3
rafalenden commented