|
@@ -86,6 +86,7 @@ $formID = rand(0, 100000);
|
|
<input type="text" :data-index="index" v-if="index !== 'bmi'"
|
|
<input type="text" :data-index="index" v-if="index !== 'bmi'"
|
|
class="form-control form-control-sm"
|
|
class="form-control form-control-sm"
|
|
data-field="value" v-model="item.value"
|
|
data-field="value" v-model="item.value"
|
|
|
|
+ :list="index === 'smokingStatus' ? 'smoking-status-options' : ''"
|
|
v-on:change="autoDate(item, index)" v-on:keyup="autoDate(item, index)">
|
|
v-on:change="autoDate(item, index)" v-on:keyup="autoDate(item, index)">
|
|
<input type="text" :data-index="index" v-if="index === 'bmi'" readonly
|
|
<input type="text" :data-index="index" v-if="index === 'bmi'" readonly
|
|
class="form-control form-control-sm vitals-title"
|
|
class="form-control form-control-sm vitals-title"
|
|
@@ -99,7 +100,11 @@ $formID = rand(0, 100000);
|
|
</tr>
|
|
</tr>
|
|
</tbody>
|
|
</tbody>
|
|
</table>
|
|
</table>
|
|
-
|
|
|
|
|
|
+ <datalist id="smoking-status-options">
|
|
|
|
+ <option value="Current">
|
|
|
|
+ <option value="Former">
|
|
|
|
+ <option value="Never">
|
|
|
|
+ </datalist>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
<script>
|
|
(function() {
|
|
(function() {
|