From 6259d8514c12fe10c15eae3bd69f80ff1f341434 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Mon, 26 Oct 2015 15:39:01 -0400 Subject: [PATCH] Fixed report type select so that it doesn't set value on model instead of controller. --- app/patients/reports/template.hbs | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/app/patients/reports/template.hbs b/app/patients/reports/template.hbs index 9ad9e7f0af..0d1d536497 100644 --- a/app/patients/reports/template.hbs +++ b/app/patients/reports/template.hbs @@ -2,11 +2,18 @@
{{#em-form model=this submitButton=false }}
- {{em-select class="col-xs-6" label="Report Type" - property="reportType" content=reportTypes - optionValuePath="value" optionLabelPath="name" - selected=reportType - }} +
+ + {{select-list + action=(action (mut reportType)) + class='form-control' + content=reportTypes + id='report-type' + optionValuePath='value' + optionLabelPath='name' + value=reportType + }} +
{{#if isStatusReport}} {{em-select property="status" label="Patient Status"