Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49259

Need help in ionic app

$
0
0

<ion-header [translucent]=“true”>

Add Expense
<ion-button (click)=“dismissModal()” size=“large” slot=“end”>







Amount:
<ion-input type=“number” #amount>


Description:
<ion-input type=“text” #desc>


Expense:
<ion-select label-placement=“floating” value=“Food” okText=“Done” #type>
<ion-select-option
value=“Food”
*ngFor=“let item of expenseTypes”
[value]=“item.name”
>{{ item.name }}



<ion-button (click)=“logExpenseInput(amount,desc,type)” expand=“block” fill=“clear” shape=“round”>
Log Expense


I am facing error at amount in method which says that
Argument of type ‘IonInput’ is not assignable to parameter of type ‘string’.ngtsc(2345)
Please suggets me what to do?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 49259

Trending Articles



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