Page MenuHomePhabricator

Core jquery.placeholder module and should be merged
Closed, ResolvedPublic


Core jquery.placeholder module and should be merged. Both are polyfills for 'placeholder' attribute implementation, with each having some features missing from the other one.

Both are MIT-licensed (as of

Version: unspecified
Severity: enhancement
Whiteboard: gci2013



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:18 AM
bzimport set Reference to bz57179.
bzimport added a subscriber: Unknown Object (MLST).

Features we are missing:

  • Support for valHooks and propHooks (bug 55651)
  • Clearing placeholders upon form submission (bug 47057)

Features mathiasbynens/jquery-placeholder is missing (bug 47057 comment 5):

  • Calling it as $(…).placeholder('Placeholder text') to set placeholder (its .placeholder function doesn't accept any arguments).
  • Support for inserting values into inputs with placeholders defined – dragging text or rightclick-pasting it could result in new value being appended to the placeholder or inserted in the middle of it.

Change 98137 had a related patch set uploaded by MegaAlex:
Merge jquery.placeholder with

Change 98137 merged by jenkins-bot:
Merge jquery.placeholder with