← Back to team overview

yellow team mailing list archive

Re: Change charm search to use HTML5 placeholder (issue 6816046)

 

*** Submitted:

Change charm search to use HTML5 placeholder

CSS does not allow you to specify a selector for a dynamic empty (or not
empty) field value.  The two approaches around it I found are JS and
required/:valid.  I chose required/:valid because it required no JS and
seemed simpler.  However, this required a CSS workaround: bootstrap
wants to highlight focused invalid fields with a red glow.  I changed
this to have the usual blue glow in the case of this one field.

R=bac, benjamin.saller
CC=
https://codereview.appspot.com/6816046


https://codereview.appspot.com/6816046/

-- 
https://code.launchpad.net/~gary/juju-gui/placeholder/+merge/131788
Your team Juju GUI Hackers is requested to review the proposed merge of lp:~gary/juju-gui/placeholder into lp:juju-gui.


References