Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dropdown (option) using Anguarjs

Status
Not open for further replies.

TheLazyPig

Programmer
Sep 26, 2019
95
PH
Hi!

I have an existing dropdown list then I want to use/get only 2 values from it to create another dropdown. Is it possible? or should I use it as an array? Suppose that I have another dropdown to determine what will appear in the claim type dropdown.

dropdown in tpl
Code:
<td ng-if="policy.avlrRole != 'Payor'">
  <select class="w-90" ng-model="policy.procType" ng-class="fldErr(policy.procType)" ng-disabled="policy.avlrRole == 'Payor'">
    <option ng-repeat="procType in library.data.claimTypes" value="{{procType.KEYSEQNO}}" ng-selected="policy.procType == procType.KEYSEQNO"> 
     {{procType.KEYDESC}}</option>
  </select>
</td>

if the role is not payor
Screenshot_2022-08-24_170050_oiqpbr.png


if the role is payor
Screenshot_2022-08-24_170319_fbmnbl.png


Thanks for the replies!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top