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

How to filter json return value using multiple form field value?

$
0
0

@anespa wrote:

Dear Friends,

My doubt is,how to filter the json data using multiple field values my json return is : https://api.myjson.com/bins/x9onh

i need to filter it with 3 fields : intWardYearID, intWardNo, intDoorNO

i get the form field value for above 3 fields easily as in code:

getBuilding() {
    //alert('wardyr'+this.data.wardyear); --> Ward year
    // like this got all fields here!
    this.propertyProvider.getBuilding()
    .then(data => {
      this.data = data;
      alert(this.data);
      //console.log(this.users);
    });
  }

Please advise

Thanks

Anes

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



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