All Questions
Tagged with ionic3 typescript
1,922
questions
0
votes
1
answer
38
views
Find corresponding product combination according to user's selection
This corresponds to an ecommerce site.
I have the following JSON corresponding to a list of combinations (sizes, colors, etc) valid for a certain product:
[
{
"id": 7,
"price&...
0
votes
0
answers
73
views
Ionic formControlName and ngIf don't work together
I've made a list that will only be shown by a true condition. Inside that list I have a input with formControlName, it works fine without the ngIf="indPermiteDesconto == 1" on ionList. It's ...
0
votes
3
answers
209
views
How do I specify to my custom component where a value is displayed within a input message?
I am building a value selector component in ionic/angular however I have one issue with the message/title I am passing to the component.
I would like to be able to specify where the currently selected ...
1
vote
1
answer
1k
views
Setting/Getting Objects and values from Ionic Storage
I'm doing a simple weather app project for college and I'm having a real headache using ionic storage to return values back that have been passed in to storage.
The application is fairly basic, GET ...
1
vote
0
answers
210
views
After building Ionic production, Electron gives: Cannot find module "."
We have a legacy Ionic app on v3 we need to support still. We're upgrading to Ionic 5+Angular of this app, but until that is ready, we need to support the older one.
We've been able to successfully ...
2
votes
3
answers
2k
views
How do I dynamically change the value of [checked] property in ion-checkbox?
<ion-list lines='full'>
<ng-container *ngFor="let item of data">
<ion-item>
<ion-label class="ion-text-wrap">
{{ item.Title}}
</...
0
votes
0
answers
99
views
Android/Ionic Bug: Gray Screen before SplashScreen - How to remove?
When application starts (on Android Device) a gray screen and then a white screen appears before SplashScreen. How can i remove that?
No Solution i found in the internet helps me..
0
votes
1
answer
66
views
Get start and end timing of application in android for ionic application
I am trying to get the start timing and end timing of other application from android device for analysis of personal behaviour and use it in our application. Can anyone suggest how to get those data. ...
1
vote
1
answer
456
views
HTTP POST request Ionic 3 gives 403 forbidden
I'm currently working on an app based on ionic 3.9.2. I'm trying to send a POST request to an API but I'm getting a 403 forbidden. orignally I had a CORS issue but I temporarily added https://cors-...
1
vote
1
answer
188
views
Upload files from angular ionic to slim php framework in localhost
hello I have a project in localhost where I want to upload files to a local folder, I attach the code to see if someone can help me.
HMTL:
<ion-item ion-item *ngFor="let item of lista" ...
2
votes
0
answers
193
views
Refused to display a frame because it set 'X-Frame-Options' to 'DENY' in ionic app on IOS platform
Refused to display a frame because it set 'X-Frame-Options' to 'DENY' in ionic app on IOS platform but the same code is working on the android platform
1
vote
0
answers
139
views
tslint import is declared but its value is never read false positive
In my ionic project ts code I use Refresher from ionic-angular
import { NavController, Refresher } from 'ionic-angular';
...
export class myClass {
refresh: BehaviorSubject<{ searchTerm: string; ...
0
votes
0
answers
361
views
TypeScript 3: Cannot use namespace 'WordArray' as a type (External module)
I am trying to use simple-crypto-js lib in my angular app but while installing the package via npm i ... I am getting below Typescript errors - Cannot use namespace 'WordArray' as a type.
Below are ...
0
votes
1
answer
123
views
Control of flow in Typescript
I am trying to call a function which will retrieve data from a storage object.
I need to do this and assign the returned storage value before the next function is called, which also has a asyncrounus ...