Posts by paulotarcio • 181 points
14 posts
-
0
votes1
answer39
viewsQ: Responsivel layout with image
I have an area with a title, text , list and image. I need to leave the image next to the text area, as in the figure below: However, when decreasing the screen resolution I need the image to be…
-
0
votes1
answer71
viewsA: Angular 7 Pipe does not work even exported and declared in main module
I removed from the Shared module and the app module, and it was only necessary to include in the module declarations of my component @NgModule({ declarations: [... , NomeMesPipe], exports: [...],…
-
0
votes1
answer71
viewsQ: Angular 7 Pipe does not work even exported and declared in main module
Hello, I have a Pipe that turns a number into a string saying the referring month. import { Pipe, PipeTransform } from '@angular/core'; @Pipe({ name: 'nomeMesPipe', }) export class NomeMesPipe…
-
0
votes0
answers58
viewsQ: Maintain input value of a reactive form after an Submit
I have a simple reactive form that, when saved, erases the log from my input. I’m trying to maintain value after saving it. But I’m not getting it. HTML <form [formGroup]="form"…
angularasked paulotarcio 181 -
0
votes1
answer215
viewsQ: How to recur SQL server using WITH to return all children
I am trying to make a recursive in a single table called local where there is a localSuperior ID, referencing the same table. If I have my biggest place with ID 1664, when making the recursive, it…
-
0
votes1
answer305
viewsQ: Convert String to Date and check if it is a valid Javascript date
I’m trying to turn a number into a date, for example: Step by string: '00260030062016' I need to get the latest numbers 30062016 and turn into date 30/06/2016. After that, I need to check if this…
-
0
votes2
answers70
viewsA: Angular paging and javascript sending events always returns the same page
The problem is that I was always passing the currentPage instead of the event value. I corrected it by leaving it as follows. Then correct the method as follows: goToPage($event: any) {…
-
-1
votes2
answers70
viewsQ: Angular paging and javascript sending events always returns the same page
I’m studying javascript and angular now, I have a pagination component with the following HTML: <nav aria-label="Page navigation example"> <ul class="pagination justify-content-end">…
-
1
votes2
answers120
viewsA: How to do page re-load with angular according to queryparms
I decided to put a subscribe on my constructor constructor( private route: ActivatedRoute, ) { this.route.queryParamMap.subscribe((params) => { this.searchTextResult = params.get('searchText');…
-
1
votes2
answers120
viewsQ: How to do page re-load with angular according to queryparms
I have a simple input that serves as a search component, with the Submit function onSubmit() { this.submitted = true; if (!this.searchForm.valid) { this.submitted = false; } else {…
-
0
votes2
answers55
viewsQ: How to make a codition inside a NOT IN on Sqlserver
Suppose I have the following data, license plates, category, and situation: 1- 1 - Encerrado 2- 10 - Concluído 3- 11 - Pendente 5 - 2 - Encerrado 6 - 1 - Pendente 9- 10- Encerrado And I want to do a…
-
3
votes1
answer164
viewsQ: How to center one div under another, exceeding the limit of the first?
Hello, I’m learning about CSS3 and I’m trying to center one div underneath the other so it’s more or less like this: Yet mine has remained so: I tried using margin-bottom: -150px It didn’t work. And…
-
0
votes1
answer99
viewsQ: Javascript function returns Undefined instead of Boolean value
I’m trying to get my function to return true or false, but it always returns me Undefined. I believe my logic is right. onChangeCategoria(categoria: any, itemchecked) { this.itemcheckado =…
-
0
votes1
answer36
viewsA: Element not Visible - Protractor
Hi. I’m also new to the developer. Do you just want to click on the element with the menu7 ID? If that’s it, you can do it the simple way: element(by.id('menu7')).click().then(() =>{ //Fazer…
angularjsanswered paulotarcio 181