Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Ng-if creating problem

$
0
0

@ashraftushar wrote:

"<div class="list">
  <label class="item item-input item-select">
    <div class="input-label">
      Unit to be Converted
    </div>
   <select ng-model="factor2" ng-change="getResult(catagory,unit1,factor1,factor2)">
   <option value="{{array.factor}}"  ng-repeat="array in arraynew.arr">{{array.name}}</option>
    </select>
  </label>
</div>"

Above code is working fine. But when we edit as below
<div class="list" ng-if="catagory<18"> and is not working. factor2 is undefined showing. What is the problem. Here catagory is modal for select list.
Plz help

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>