Skip to content

Commit

Permalink
Bind disabled attribute into timepicker fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Jul 22, 2016
1 parent 4a910a8 commit ce3ed03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/strand-timepicker/strand-timepicker.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@
<template>
<template is="dom-if" if="{{!use24HourTime}}">
<strand-group>
<strand-input-mask icon="clock" value="{{timeString}}" on-keydown="_keyHandler" style="width:119px;">
<strand-input-mask disabled$="{{disabled}}" icon="clock" value="{{timeString}}" on-keydown="_keyHandler" style="width:119px;">
<group rule="hour12" restrict="numeric" size="2" autofill="0"></group>
<sep chars=":"></sep>
<group rule="minutes" restrict="numeric" size="2" autofill="0"></group>
</strand-input-mask>
<strand-dropdown value="{{timePeriod}}" fitparent style="width:64px;">
<strand-dropdown disabled$="{{disabled}}" value="{{timePeriod}}" fitparent style="width:64px;">
<strand-list-item value="am">AM</strand-list-item>
<strand-list-item value="pm">PM</strand-list-item>
</strand-dropdown>
</strand-group>
</template>

<template is="dom-if" if="{{use24HourTime}}">
<strand-input-mask icon="clock" value="{{timeString}}">
<strand-input-mask disabled$="{{disabled}}" icon="clock" value="{{timeString}}">
<group rule="hour24" restrict="numeric" size="2" autofill="0"></group>
<sep chars=":"></sep>
<group rule="minutes" restrict="numeric" size="2" autofill="0"></group>
Expand Down

0 comments on commit ce3ed03

Please sign in to comment.