Skip to content

Commit

Permalink
mh
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-reynolds committed May 18, 2024
1 parent fc522fa commit b3d6106
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example-smart-app/src/js/example-smart-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ function createQuestionnaireForm(questionnaire) {
const select = document.createElement("select");
select.id = item.linkId;
select.name = item.linkId;
const defaultOption = document.createElement("option");
defaultOption.value = "";
defaultOption.textContent = "Select an option";
defaultOption.selected = true;
defaultOption.disabled = true;
select.appendChild(defaultOption);
item.answerOption.forEach(option => {
const opt = document.createElement("option");
opt.value = option.valueCoding.code;
Expand Down

0 comments on commit b3d6106

Please sign in to comment.