DescriptionChange 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.
https://code.launchpad.net/~gary/juju-gui/placeholder/+merge/131788
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 3
Patch Set 2 : Change charm search to use HTML5 placeholder #
MessagesTotal messages: 5
|