hi! below is the ionic 5 code snippet i am using now… however it does not work as expected.
i want to get the text from ion-select when the user make a selection and store the text in the input text name=“fishName”… i can only get the ion-select value but not the text.
fishes = [{fishID:“1”,fishName:“AAA”}, {fishID:“2”,fishName:“BBB”}, {fishID:“3”,fishName:“CCC”}];
updateFish($event) {
let fishName=this.fishForm.get(“fishID”).text; //this text is not available
this.fishForm.patchValue({fishName:fishName});
}