I have this html (below), for an input color type, I want to show the Font Awesome icons instead of the input, which works fine, the thing is that by setting the display of the input to none, the model is not being updated by the new color, this works fine if I remove the display setting. Any suggestions?
<label for="color{{id_form_group}}" class="fa-stack">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-paint-brush fa-stack-1x" style="color:{{objeto.style.color}};"></i>
<input id="color{{id_form_group}}" ng-model="objeto.style.color" type="color" style="display:none;">
</label>