Posts by Guilherme Nunes • 727 points
62 posts
-
0
votes2
answers312
viewsQ: Metodo Post Angular
Hello, I am developing an application using as Backend ASP.NET C#, and with front Angular5! I’m doing a post method for the first time and it’s not flowing well! In Backend I have a method as…
-
-1
votes1
answer844
viewsQ: Limit the Ngfor
I would like to know how to limit my Ngfor to pass only 6 times?? In my . TS imported this module below... import { NgForOf } from '@angular/common'; I tried to use it this way below but it didn’t…
-
1
votes1
answer485
viewsA: Searching Google geolocation in the angular
I used it as follows to get the object... this.vwServiceApi.obtendoGeolocalizacao().subscribe(res => {this.apiGoogle = res.json(); this.lat = this.apiGoogle.results[0].geometry.location.lat;…
-
-1
votes1
answer485
viewsQ: Searching Google geolocation in the angular
Hi, I have to search Longitude and Latitude, by Google API, with Angular.. I’m using this code to perform the requisition: constructor(private http: Http, private vwServicePagination:…
-
0
votes2
answers696
viewsA: Angular2-text-Mask
Problem solved! I added a "#phone" to my HTML input, and put the mask as follows: telefoneMask = function(telefone: any) { if(telefone.length == 10){ return [/\d/, /\d/, /\d/, /\d/ , /\d/, '-',…
-
0
votes2
answers696
viewsQ: Angular2-text-Mask
How to apply a phone mask where it adapts to a landline and mobile phone, using the Angular2-text-mask? I read the documentation and saw that you can do with function, but as I am using formGroup, I…
-
-2
votes1
answer319
viewsQ: Activation of Angular Formgroup validation
Hello I have a form using formGrupo! When I click the confirm button it does not perform the validations, without any reaction in the fields...... However, I would like that when I click on this…
-
1
votes1
answer699
viewsQ: Doubts of Angular masks
Hi, I’m new to Angular and I’m having trouble with my mask! I’m wearing the masks of "Angular-input-Mask"; I have a form that has a field 'CPF', the mask is applied perfectly. Visually when I type a…
-
0
votes1
answer88
viewsQ: Disabling check according to selected quantity
I have a component that has an input:checkbox. This component is repeated several times on the screen. How do I block the checkbox, limiting my user to click at most 3 checkboxes IE, the user will…
-
1
votes1
answer979
viewsQ: Masks in the Angularjs
I would like to know how to use the angular-input-masks. I did all the steps said in the same, but I couldn’t make it work. I’m using Angularjs, here’s my index page. <!DOCTYPE html> <html…
-
2
votes1
answer510
viewsQ: Pass variable in *ngIf
I have a variable in my input.component.ts calling for validacaoExterna, that receives a string from whoever is going to use it.. @Input() validacaoExterna: string; In my input.component.html I have…
-
1
votes1
answer2028
viewsQ: Formgroup Angular
Hi, I’m new to angular and would like to know how I use more than one sternal validation with Formgroup. Currently my code is as follows... constructor(fb: FormBuilder, public router: Router){…