Merge pull request #821 from nasa/show-selected-color

[Control] Color input shows selected color
This commit is contained in:
Victor Woeltjen 2016-04-05 12:20:14 -07:00
commit e87280aa15

View File

@ -27,6 +27,14 @@
<span class="l-click-area" ng-click="toggle.toggle()"></span>
<span class="ui-symbol icon">{{structure.glyph}}</span>
<span ng-style="{
background: ngModel[field],
display: 'inline-block',
height: '11px',
width: '11px',
}"
ng-show="ngModel[field]">
</span>
<span class="title-label" ng-if="structure.text">
{{structure.text}}
</span>
@ -62,4 +70,4 @@
</div>
</div>
</div>
</div>
</div>