-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #227 from apinf/feature/ie-dropdown-fix
Fix dropdown optionfields on IE
- Loading branch information
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<div class="dropdown option field c${columns} columns" if.bind="display"> | ||
<label for.bind="id"> | ||
${label} | ||
<tooltip if.bind="helpText" text.bind="helpText"> | ||
<img src="res/info.svg" alt="Info"/> | ||
</tooltip> | ||
</label> | ||
<select value.bind="selectedChoice" id.bind="id"> | ||
<!-- Dropdowns break on IE if we have if.bind, so we don't. --> | ||
<option | ||
repeat.for="choice of allChoices" | ||
model.bind="choice.key" | ||
>${choice.label}</option> | ||
</select> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters