Created
August 13, 2016 22:33
-
-
Save LeoNero/5807fffc322671b825a7af276fd4f0b0 to your computer and use it in GitHub Desktop.
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
<template> | |
<div> | |
<select md-select value.bind="selectedTaskType" change.delegate="onChangeTaskType()"> | |
<option model.bind="null">Choose the type of the task...</option> | |
<option repeat.for="taskType of tasksType" model.bind="taskType"> | |
${taskType.number} - ${taskType.type} | |
</option> | |
</select> | |
</div> | |
<br> | |
<div> | |
<select md-select value.bind="selectedTask"> | |
<option model.bind="null">Choose a task...</option> | |
<option repeat.for="task of tasks" model.bind="task"> | |
${task.number} - ${task.question} | |
</option> | |
</select> | |
<p>Selected question: ${selectedTask.question}</p> | |
</div> | |
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment