Skip to content

Commit

Permalink
fix: EDITOR-404
Browse files Browse the repository at this point in the history
  • Loading branch information
felixroos committed Aug 16, 2019
1 parent 5eb5696 commit fc43517
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -30,9 +30,15 @@

<div class="ec-input-color" *ngSwitchCase="'color'">
<div class="ec-input-color__preview" [style.backgroundColor]="control.value">
<input [id]="field.id" type="color" [formControl]="control" />
<input [id]="field.id" type="color" [value]="group.value[field.property]" [formControl]="control" />
</div>
<input type="text" [formControl]="control" [placeholder]="field.getPlaceholder()" class="input" />
<input
type="text"
[formControl]="control"
[value]="group.value[field.property]"
[placeholder]="field.getPlaceholder()"
class="input"
/>
</div>

<label *ngSwitchCase="'boolean'">
Expand Down

0 comments on commit fc43517

Please sign in to comment.