Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added select option for storeType in create sensor page #8

Merged
merged 2 commits into from
Aug 24, 2019

Conversation

priyapappachan
Copy link
Contributor

The sensor storeType should of type as defined in storeTypes.java. The create sensor page is updated with select option for storeType to avoid errors.

ng-model="vm.sensor.storeType"
/>
<select class="form-control" name="storeType" id="field_storeType"
ng-model="vm.sensor.storeType" ng-options="storeType as storeType for storeType in vm.storeTypes">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

storeType for storeType in vm.storeTypes should work here.

/>
<select class="form-control" name="storeType" id="field_storeType"
ng-model="vm.sensor.storeType" ng-options="storeType as storeType for storeType in vm.storeTypes">
<option value=""></option >
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need a <option> tag here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have removed the tag and added a commit on the same.

@thisa32 thisa32 merged commit 4ffca4e into scorelab:master Aug 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants