Posts by jrr • 174 points
10 posts
-
3
votes2
answers449
viewsA: ngFor inside ngFor does not work
You are instantiating this.programService instead of this.programs. ngOnInit() { this.programsService .getPrograms() .subscribe(dados => (this.programs = dados)); }…
-
1
votes1
answer109
viewsA: Form control required depending on the selection of another angular form control
I would try one of these two ways: first: <input formControlName="formControlNomeIdentificador" matInput placeholder="Qual era o nome no identificador?"…
-
1
votes1
answer578
viewsA: How to make website with multi languages?
A simple way to do this would be with JS example: var userLang = navigator.language || navigator.userLanguage; console.log("The language is: " + userLang); if (userLang == 'pt-BR') { var novaURL =…
-
1
votes1
answer691
viewsA: Rescue data from another angular component
I think setting in localStorage is the best option, but if you want something different, try using the angular Event Emitter. Ex: emitter.service.ts import { Injectable, EventEmitter } from…
-
1
votes2
answers257
viewsQ: break date in 3 columns in a mysql query
I have a system where I need to select any date in a calendar, so I need to return all the month records of that date, for example: I have 4 dates, 01/08/2017, 06/08/2017, 14/09/2017, 17/10/2017.…
-
1
votes1
answer99
viewsQ: Importing 'Loadingcontroller' into Ionic 3
I updated my Ionic from version 2 to version 3, and some plugins like 'Loadingcontroller' and "Platform" stopped working, generating the error Cannot find name 'Loadingcontroller'. I couldn’t find…
-
1
votes1
answer51
viewsQ: Ajax without sending the action
Good afternoon, I have this ajax code where I use to update my form, it happens that when I give the Submit it goes to the php page, and I do not want it, I just want the return of it. follows the…
-
1
votes1
answer104
viewsQ: Taking value from one input and passing to another dynamically
I have a screen to sell products, with this I have a button to add product to be sold, this button brings a select (to choose the product to be sold) and an input (that comes the value of the…
-
1
votes2
answers280
viewsA: Right at the top when resizing page
I would use width in the a.logo.logo-Responsive>img header Thus header a.logo.logo-Responsive>img { width:90% } so it would decrease the size of the logo slightly making it fit in your bar…
-
0
votes1
answer291
viewsQ: Passing an array with ajax to php
I’m trying to delete multiple records, where I try to get input with Ajax and move on to the PHP. Printando on the console I can see that I’m picking up the values, but when it comes to going to…