Refactor input fields, converter selectors and error messages into their own components.
Some checks failed
continuous-integration/drone the build failed

This commit is contained in:
Manuel Friedli 2018-09-06 14:37:20 +02:00
parent 62ba5a3357
commit 81db470a5a
16 changed files with 337 additions and 157 deletions

View file

@ -0,0 +1,9 @@
<div [ngClass]="{selectwrapper: true, error: step.error}">
<div class="arrow_box">
<select class="select" (change)="convert(step, $event)">
<option id="undefined">Select conversion ...</option>
<option class="option" *ngFor="let c of converters" id="{{c.getId()}}">{{c.getDisplayname()}}
</option>
</select>
</div>
</div>