Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
contacts-v2: hide error in contact create item if focused
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 17, 2013
1 parent d7d8524 commit c1d7ed3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shiny/Contacts-v2/components/contacts-create-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<link href="../../../../polymer-ui-elements/polymer-ui-icon-button/polymer-ui-icon-button.html" rel="import">
<link href="../../../../polymer-ui-elements/polymer-ui-menu-item/polymer-ui-menu-item.html" rel="import">
<link href="../../../../polymer-ui-elements/polymer-ui-overlay/polymer-ui-overlay.html" rel="import">
<polymer-element name="contacts-create-item" attributes="icon activeIcon label value error selectedType active overlayActive" on-focus="focusAction" on-blur="blurAction" on-mouseover="focusAction" on-mouseout="blurAction">
<polymer-element name="contacts-create-item" attributes="icon activeIcon label value error selectedType active overlayActive" on-focus="focusAction" on-blur="blurAction">
<template>
<style>
/* @polyfill @host */
Expand Down Expand Up @@ -66,8 +66,8 @@
<div flex>
<input id="input" value="{{value}}" placeholder="{{label}}">
</div>
<polymer-ui-icon-button icon="close" class="{{hidden: !active && !overlayActive || error}}" on-tap="cancelAction"></polymer-ui-icon-button>
<polymer-ui-icon-button src="error.png" class="{{hidden: !error}}" on-tap="errorAction"></polymer-ui-icon-button>
<polymer-ui-icon-button icon="close" class="{{hidden: !active && !overlayActive}}" on-tap="cancelAction"></polymer-ui-icon-button>
<polymer-ui-icon-button src="error.png" class="{{hidden: !error || active}}" on-tap="errorAction"></polymer-ui-icon-button>
<polymer-ui-overlay id="typeOverlay" active="{{overlayActive}}" modal backdrop on-polymer-overlay-open="overlayOpenAction">
<polymer-selector selected="{{selectedType}}" on-polymer-activate="overlaySelectAction">
<content></content>
Expand Down

0 comments on commit c1d7ed3

Please sign in to comment.