All Questions
464 questions
1
vote
0
answers
81
views
Ionic 3 - Register new element is formBuilder
I have added a custom slider element in the formBuilder. The code is as below:
var fields = [{
label: 'Rating',
attrs: {
type: 'slider'
},
icon: '🌟'
}];
var templates = {
...
2
votes
1
answer
2k
views
How can i reload the current page in Ionic 3 when i refresh the browser?
I´ve the following problem. I´m working on an App written with Ionic 3 and I need that when I refresh the browser it renders the current page and does not redirect me to the home page.
It's possible?
...
1
vote
0
answers
120
views
Network onchange event is not getting triggered in case of wifi with exclamation mark in ionic3/5
We have a usecase where in we are using the socket for the Live data to display it in our mobile app. We are using Microsoft signalR(https://www.npmjs.com/package/@microsoft/signalr)
When ever network ...
0
votes
1
answer
302
views
When I try to submit the login form the page is reloading , not getting the values of form group -Ionic ,Angular
When I try to submit the login form the page is reloading , not getting the values of form group -Ionic ,Angular
I am using angular reactive forms and form builder with ionic framework
Help me , I ...
-1
votes
1
answer
162
views
ANGULAR/IONIC ERROR Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed
I have this error when I want to receive data from the server with a REST API and display it in an HTML component through a modal. In console if I get the data but in my HTML view not.
ERROR Error: ...
0
votes
1
answer
645
views
How to do Receipt Validation in InAppPurchase Ionic 3
I am using InAppPurchase in our ionic 3 application. I am using the InAppPurchase2 plugin. I am also using Receipt Validator Fovea for subscription receipt validation. Purchase is working fine if I ...
0
votes
1
answer
370
views
Password RegEx - Minimum 12 char, Should contain 1 Uppercase & Lowercase & Number & Special Char and should not contain more than 2 repeated char
I am looking for an password regEx. which should cover the following conditions
1 Uppercase
1 Lowercase
1 Number
1 Special Char
should not contain more than 2 repeated char (Eg: SaaC - allowed, Saaac ...
1
vote
2
answers
521
views
How to get value from promise response and assign it to each object property in array in Ionic v3
attempt 1 : I tried to get data by using this below funtion. Since it is asynchronous, not able to get the value from this function.
for (var i = 0; i < this.items.length; i++) {
let newitems: ...
1
vote
0
answers
548
views
How to implement Buffer.alloc () and Buffer.from () in angular 5
I have these lines of code which work in node.js
let seed = "123456789"
let out = Buffer.alloc(93, "hex")
let salt = Buffer.from(seed, "hex")
But I need something equivalent or equal to give ...
0
votes
1
answer
155
views
How to prevent canvas drawing to be erased on next mousedown?
I am on Ionic 3 angular V5, I couldn't use the Viewchild which returns a undefined, so I used ViewChildren et get the first item of the array (dirty I know)
@ViewChildren('imageCanvas') canvas: any;
...
-1
votes
1
answer
1k
views
while ionic serve I'm getting this error "typescript: node_modules/@types/node/worker_threads.d.ts, line: 8 '=' expected. "
My ionic info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.9.0
ionic (Ionic CLI) : 3.9.0
global packages:
Cordova CLI : 9.0.0 ([email protected])
local packages:
@ionic/app-...
1
vote
0
answers
151
views
Ion-Input does not looses focus when clicked outside
I am having an ion-input. When i run in browser It works fine.
Problem is in Windows appx build. When we type some number in the input field.
And then click else where outside the input field.
Then if ...
0
votes
3
answers
1k
views
How to pass string parameter in innerhtml
I am creating dynamic html base server response.
Example:
var responseServer = {
name: "al the' too"
}
var htmlView = `<div onclick="info(responseServer.name)"> </div>`;
//Error: al ...
0
votes
1
answer
962
views
Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory Ionic 3 prod build
I am getting the following error when i am building a prod build of my Ionic 3 app.
"FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory"
To ...
1
vote
0
answers
41
views
Trying to make a searchable menu with individual routes
So I am making this Ionic 5 application and have created a searchable list that searches through and displays an array that is created in javascript. I am wondering, how would I go about making each ...