Skip to content

Commit

Permalink
Print optionSet as a dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
vgarciabnz committed Nov 3, 2017
1 parent ede88ad commit c7499d9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/dossierPrograms/dossierPrograms.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ <h3 class="section" id="{{section.id}}">{{section.displayName}}</h3>
<td>{{dataElement.displayDescription}}</td>
<td>{{dataElement.valueType}}</td>
<td>
<ul>
<li ng-repeat="option in dataElement.optionSet.options">
<div>{{option.displayName}}</div>
</li>
</ul>
<select ng-if="dataElement.optionSet.options" class="form-control col-md-2">
<option selected>See options</option>
<option ng-repeat="option in dataElement.optionSet.options">{{option.displayName}}</option>
</select>
</td>
</tr>
</tbody>
Expand Down

0 comments on commit c7499d9

Please sign in to comment.