Allow to disable restore on blur #1

Open
wants to merge 1 commit into
from

Projects

None yet

1 participant

@whilefalse

Hi,

Thanks for the awesome plugin - works a treat. I had a situation where I only wanted the placeholder to display on page load, and one the use has clicked into then out of it, it shouldn't come back. I couldn't find a way to do this so added in the restoreOnBlur option, which doesn't restore the placeholder on blur if it's set to false.

Feel free to pull it back to your version if you want - up to you.

Thanks,
Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment