Posts by veroneseComS • 2,752 points
368 posts
-
0
votes0
answers67
viewsQ: Transform a scss animation to fit the angular animations
Hello, I need to place in my angular animations the following scss animation: 0% { opacity: 0; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); } 100% { opacity: 1;…
-
0
votes1
answer626
viewsQ: Methodnotallowedhttpexception error in Laravel
I’m trying to update data, but I get: Symfony Component Httpkernel Exception MethodNotAllowedHttpException My route: Route::put('animalperdido/{id}', 'AnimalPerdidoController@update'); My job:…
-
2
votes1
answer135
viewsQ: how to position a triangle created with css?
How can I position a div that creates a triangle next to an item in my menu? <div class="triangulo"> </div> .triangulo{ width: 0; height: 0; border-style: solid; border-width: 17.5px…
-
1
votes0
answers42
viewsQ: Angular continues my function before the dialog response
I have a function that calls a dialog if the SKU of a product is changed, but the function is being continued before the dialog result. Is there any way to wait for the result and only then continue…
-
6
votes1
answer102
viewsQ: Add a distant circle around a CSS image
I need to circle around a div with photo, however my image is not centering on the expected circle, having this result: I tried to do it that way: #avatar { margin: 0 auto; background-image:…
-
0
votes1
answer125
viewsA: How to hide the bootstrap modal via typescript
I got it this way: Set a local variable for the close button with the modal date-Dismiss: <button [disabled]="loadingVinculacao" #fechaModalVinculacao type="button" class="btn btn-danger"…
-
0
votes1
answer125
viewsQ: How to hide the bootstrap modal via typescript
Looking at the bootstrap documentation I saw that it has a specific method to hide the modal via jquery: .modal('hide') $('#myModal').modal('hide') The problem is that I use angular, so I need a way…
-
0
votes1
answer139
viewsQ: Previous request to then execute another request at the angle
After the user is logged in to my application, all the requests he performs must first hit an API that will validate if the plan is in agreement. Is there any way to standardize the requests so that…
-
2
votes1
answer556
viewsQ: Change attribute of one component into another component at the angle
I have two components: Registration and Login In the Registry I have this anchor: <a id="titleClient">Already have a account? Click here</a> I need when the user clicks on the anchor to…
-
1
votes0
answers12
viewsQ: My empty default route is falling into the last set loading Lazy
I have the following standard route: const dashboardRoutes: Routes = [ { path: '', loadChildren: 'src/app/components/dashboard/bemvindo/bemvindo.module#BemVindoModule', canActivate: [AuthGuard] },…
-
1
votes2
answers94
viewsQ: How does the reader know which table of my comic will be used for my operation?
I have a table in my comic called lostanimals_, created without using Migrations. I created a class in the basement for her: namespace App; use Illuminate\Database\Eloquent\Model; class…
-
0
votes1
answer47
viewsQ: Function running before receiving value in ngModel
I have the following checkbox: <mat-checkbox [(ngModel)]="anuncio.checkouCarimbo" (click)="checkouAnuncio()" name="checksegundoAnuncio" class="example-margin checkFoto"> </mat-checkbox>…
-
0
votes0
answers51
viewsQ: About variable typing performance in functions and variables in typescript
There is some difference in typescript performance when using variable typing compared to any? Example: minhaString: any; minhaString: string; I would also like to know if there is a difference in…
-
0
votes0
answers78
viewsQ: My routing module cannot find my component
I am trying to apply Lazy loading on my application, but for some reason is not found importing the component I do in my component routing file by returning: Uncaught Error: Component…
-
0
votes1
answer17
viewsQ: Isn’t repeating structure checking for null elements?
I have two repetition structures that go through my element and check if the attribute "idatributo" is null. If my object has two elements, only the first tribute is being printed. The second is…
-
1
votes1
answer34
viewsQ: Repeat structure does not work when my object is copied without reference
I need to remove an attribute from my object (indexvariacaoatributo), but I need it to remain in the root object. This is my algorithm that receives in variable my object and then I remove the…
-
0
votes1
answer74
viewsQ: Change inputfile label when you already have an Angular selected file
I have the following input file that uploads an image and turns to Base64: <div class="image-upload"> <img class="fotoAnimal" [src]="imageSrc" style="max-width:300px;max-height:300px"/>…
-
1
votes1
answer109
viewsQ: Form control required depending on the selection of another angular form control
I have the following mat-checkbox: <mat-checkbox formControlName="formControlIdentificador" color="primary" class="correcaoClasseCheck" labelPosition="before"></mat-checkbox> <input…
-
2
votes1
answer137
viewsQ: Problem with *ngIf: Cannot read Property 'indexvariacaoatributo' of Undefined
I have a reactive form and I need to show this card only when in my array listAtributos[i].indexvariacaoatributo is different from null. It turns out that initially there is no…
angularasked veroneseComS 2,752 -
0
votes1
answer159
viewsQ: Wrong icon on angular Stepper mat
I’m trying to put an Edit icon when the state is address, but the icon shown is from the first state. I tried to: First step: <ng-template matStepperIcon="edit">…
-
0
votes1
answer143
viewsQ: can’t assign to Property "Validator" on "selectAnimal": not an Object"
I’m trying to apply a mandatory Validator when filling a select, but I’m getting: can’t assign to Property "Validator" on "selectAnimal": not an Object" Follows my code: ngOnInit() {…
-
1
votes1
answer89
viewsQ: Reorganize my array’s index
I have two cards in my app. The first card has index 0, the second card has index 1. There is a variable called listAtributos which has the following structure: 0: {indexvariacaoatributo: 0, id: 5,…
-
0
votes2
answers65
viewsQ: Function that runs for and goes excluding according to condition
I have an array called listAtributos: any[] = []; and I need to remove the lines that match my index. If I give a console log in this way, it shows me exactly the elements that should be deleted:…
-
0
votes1
answer532
viewsQ: Only render my widget if it is not empty with *ngIf
I have the following variable: listAtributos: any[] = []; In my template I want to check if it is empty, if it is, do not show the content, if there is something inside it, show the contents of the…
-
0
votes0
answers85
viewsQ: Hide select option when it is equal to the option already chosen
I have a select that has two options: Size, Color. When I select Size, when I click again on my select, it still shows the Size option. I would like to remove it and make available only the other,…
-
0
votes1
answer271
viewsQ: How can I set an array within my formgroup?
I have the following function that creates a form group: My ngOnInit: ngOnInit() { //Ao iniciar a tela deve carregar o formgroup padrão das variações this.variacaoForm = this.fb.group({ variacoes:…
angularasked veroneseComS 2,752 -
2
votes3
answers787
viewsQ: Questions about activity diagrams
The activity diagram it describes a single activity of the system or it specifies the various activities of the system? Can there be more than one start in the activity diagram? Ex: Starts an…
diagramasked veroneseComS 2,752 -
1
votes1
answer182
viewsQ: Add a small margin in a div with text-align: right
I have a div with material bootstrap design of size 4 col-md-4 that aligns right my texts using text-align: right The problem is that in the same line this text has an icon, which is also aligning…
-
0
votes0
answers39
viewsQ: Working with multiple selects in form group
I have two selects: <div class="select"> <select [class.disabled]="loadingcadastro" (change)="getIdTipoVariacao(item.value.tipo, i)" formControlName="tipo" class="select-text">…
-
0
votes1
answer24
viewsQ: Black screen when simulating application in Xcode Iphone 7 PLUS
I’m trying to simulate my Ionic generated application on Xcode to take the printsscreens needed to submit for revision. When I select the iPhone 5/6 it opens normally, but when I select the iPhone 6…
-
-2
votes1
answer125
viewsQ: Overwrite the default icone of mat-Stepper angular material
I’m trying to override the default mat-Stepper icon, but it doesn’t seem to work. I followed the documentation, but my icon is next to my label, instead of overwriting and staying in the blue…
-
1
votes1
answer128
viewsA: Ionic app giving crash instantly while being opened
I penetrated all afternoon and as incredible as it seems, the icones and splashs defined the way they were generated this crash. Before was: <platform name="android"> <icon qualifier="ldpi"…
-
0
votes1
answer128
viewsQ: Ionic app giving crash instantly while being opened
I have an Ionic application that is stable and working in most of my clients. However I have a client that has a Galaxy S9 and when you try to open the application, instantly appears: By clicking…
-
0
votes2
answers90
viewsA: How to use a Cordova plugin in my Ionic 3?
For those interested, I was able to access the properties of this plugin through the following way: (<any>window).powerManagement.dim();…
-
0
votes2
answers90
viewsQ: How to use a Cordova plugin in my Ionic 3?
I need to implement in my application the following Ionic plugin:…
-
0
votes1
answer672
viewsQ: How to convert date time to ISO 8601 format in PHP?
I have the following format: 2018-10-23T12:05:18.18UTC0TUE I need to turn into 2013-06-28T08:54:00.000-03:00 (iso 8601 format). There is something specific in php that helps me to transform this…
-
1
votes0
answers1344
viewsQ: How can Postman send requests without Cors problems?
I currently use Angular 2+ in some applications and am experiencing difficulties in solving Cors problems. When the request is made by Postman, everything happens as expected, but when I try through…
-
0
votes1
answer36
viewsQ: By clicking on my Ubmit, the php function is opening my file
I have the following file called teste3.php: <form action="cadastros.php" method="post"> <label for="latitude" hidden>Latitude:</label> <input id="latMap" hidden…
phpasked veroneseComS 2,752 -
1
votes1
answer497
viewsQ: Add a key/value to a typescript object
I have an array object that I want to add in position 0 a key and value in it. I tried something like: this.testeobj//meu objeto this.testeobj[0].push({oi: 'teste});…
-
1
votes1
answer505
viewsA: How can I answer a completed cmd question?
To whom you are interested, I was able to reply using "|" and on the left the message I want to be typed: echo senhaultrasecreta | jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore…
-
-2
votes1
answer505
viewsQ: How can I answer a completed cmd question?
I am automating a process through a file. bat and at a certain point the cmd gives me a question, I wonder how can I do to answer. I tried to: jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1…
-
0
votes1
answer45
viewsA: Elements disappearing when you enter responsive mode and only appear when you click it
For those who are interested, I use the bootstrap design material and when I changed their card to position: Ticky, the elements were rendered as expected. I don’t really understand why it worked…
-
0
votes1
answer45
viewsQ: Elements disappearing when you enter responsive mode and only appear when you click it
As soon as my page is loaded, all the elements that fit on the screen are rendered, but as you scroll down the screen a little bit, the elements are not shown, they are only rendered when I click on…
-
1
votes1
answer903
viewsQ: Align a column element at the top-right
I have a checkbox within a column and would like to put it at the top-right. My template: <div class="row"> <div class="col-11"> <h4 class="card-title">Bolsa camuflada</h4>…
-
2
votes1
answer478
viewsQ: Align radio Buttons to the right of a select
I have a line that is being lined up in the center as follows: .row{ display: flex; justify-content: center; } Inside this row has two columns, one with a select and the other with radio Buttons…
-
-1
votes1
answer128
viewsQ: How to get the name of a day of the week having the year/month/day in number
I have a calendar that returns me by clicking on a date the month, year, and day. I wonder if anyone has done an algorithm so that through these data, ex: 20/10/2018, I get the name of the day of…
ionicasked veroneseComS 2,752 -
0
votes0
answers21
viewsQ: Angular animation only works in the "enter" transition
I’m trying to put a fadein/fadeout effect, but it’s only working the fadein, when it happens the element disappears instantly. I tried to: @Component({ selector: 'app-confprecificacao', templateUrl:…
-
0
votes0
answers282
viewsQ: Default option in select does not appear
I have a select I want to show a label as default option, but it is appearing blank. My select: <div class="select"> <select (change)="calculaMes(mesEscolhido)" [(ngModel)]="mesEscolhido"…
-
0
votes1
answer106
viewsA: How to add values in keyup using angular?
If you’re interested, I got it that way: soma(){ let sum = 0; Object.keys(this.controls).map(key => { sum += +this.controls[key]; }); this.produto.estoque = sum; } <input mask="000000000000"…
-
0
votes1
answer106
viewsQ: How to add values in keyup using angular?
I have a field that I need that as I type values, it adds in a variable. I tried something like: <input (keyup)="somaEstoque($event)" #inputestoque type="text" name="estoque_variacao{{i}}"…