Skip to content

Instantly share code, notes, and snippets.

@albulescu
Created October 21, 2016 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albulescu/d7bfb070b0f908913b8efa42ead565c1 to your computer and use it in GitHub Desktop.
Save albulescu/d7bfb070b0f908913b8efa42ead565c1 to your computer and use it in GitHub Desktop.
<td md-cell>
<div ng-if="!result.osd.csmInstruction || result.enableFlag">
<md-select ng-if="!$ctrl.cp" name="status" ng-init="result.enableFlag='true'" ng-model="result.osd.csmInstruction" aria-label="status" placeholder="Select">
<md-option value="">Select</md-option>
<md-option value="Hold for Decision">Hold for Decision</md-option>
</md-select>
<span ng-if="$ctrl.cp">
{{result.status | na}}
</span>
</div>
<div ng-if="result.osd.csmInstruction && !result.enableFlag">
<md-input-container class="md-block">
<md-select name="status" ng-model="result.osd.csmInstruction" aria-label="status" ng-disabled="true" md-selected-text="result.osd.csmInstruction">
<md-option>{{result.osd.csmInstruction}}</md-option>
</md-select>
</md-input-container>
</div>
<div>{{result.returnSegmentNumber}}</div>
</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment