Skip to content

Commit

Permalink
Merge pull request #8 from priyapappachan/patch1
Browse files Browse the repository at this point in the history
Added select option for storeType in create sensor page
  • Loading branch information
thisa32 committed Aug 24, 2019
2 parents 87eb4a3 + d5fb074 commit 4ffca4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@
vm.isSaving = false;
}


vm.storeTypes = ['NORMAL','EXPIRE'];
}
})();
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ <h4 class="modal-title" id="mySensorLabel" translate="ioeApp.sensor.home.createO
</div>
<div class="form-group">
<label class="control-label" translate="ioeApp.sensor.storeType" for="field_storeType">Store Type</label>
<input type="text" class="form-control" name="storeType" id="field_storeType"
ng-model="vm.sensor.storeType"
/>
<select class="form-control" name="storeType" id="field_storeType"
ng-model="vm.sensor.storeType" ng-options="storeType for storeType in vm.storeTypes">
</select>
</div>
<div class="form-group">
<label class="control-label" translate="ioeApp.sensor.tableId" for="field_tableId">Table Id</label>
Expand Down

0 comments on commit 4ffca4e

Please sign in to comment.