Posts by Lucas Latorre • 72 points
15 posts
-
0
votes1
answer22
viewsA: How to apply a function to the button that will only proceed with checkbox set
You can create using the Validators#requiredTrue: Component: this.formGroup = this.formBuilder.group({ isCheckedTerm: [false, Validators.requiredTrue] }); Template Checkbox: <ion-item…
-
1
votes1
answer38
viewsA: Search by id at angle
That’s exactly what @Leandrade said. When you call Alert, the response to the request listById It has not yet arrived because it is an Observable. That is, there is not yet time to get the answer…
angularanswered Lucas Latorre 72 -
0
votes1
answer25
viewsA: Issue event after close ngx-toastr Angular
Try to save the function call into a variable and sign up for the Observable: const toast = this.toastr.success('You are awesome!', 'Success!', { onHidden: () => { console.log('hidden') },…
-
1
votes1
answer42
viewsQ: Non-responsive input with Menubar is minimized
I have a search input with an icon in a sidebar that when minimizing the menu, the input icon "goes out" from the menu according to the images: Does anyone know how to fix it? I’ve tried with…
-
0
votes2
answers159
viewsQ: How to access a variable within ngAfterViewInit() in Angular
I have looked here in the stack but I did not find the answer. Does anyone know if you can access a variable that is inside the ngAfterViewInit() in Angular. In the code below, in the last line when…
-
0
votes0
answers46
viewsQ: String INSERT INTO Error with Quotes
I have the INSERT INTO below that shows error in the field where the value is '[/\d/, /\d/, /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/]' INSERT INTO ADVDEV."Mascara"("Guid", "MascaraId", "EmpresaId",…
-
0
votes0
answers30
viewsQ: If informed parameter does not bring any data in the Stored Procedure (Oracle)
I’m having a problem in the Stored Procedure below, where it only brings the data if the parameter of EmpresaId come blank. If I inform the parameter EmpresaId, does not bring any data. I am a…
-
0
votes1
answer749
viewsQ: Format an html form input as a currency
Please someone can help me, I’m not able to format an input as currency. <label for="saldoInicial">Saldo Inicial</label> <input type="number" format="currency" precision="2"…
-
1
votes1
answer205
viewsQ: Vertical Alignment on card-header with bootstrap
I have a card and a title as a card-header. I would like the title to be aligned vertically below. I have tried align-text-bottom but it didn’t work. Follows the code: <link rel="stylesheet"…
-
0
votes1
answer999
viewsQ: Fieldset and Legend with bootstrap
I have a div that after placing a fieldset and a Legend, it has decreased in size. I need you to stay like this: ::ng-deep .dx-datagrid-headers .dx-datagrid-content { margin-bottom: -1px;…
-
0
votes1
answer183
viewsQ: Legend in form-group bootstrap
Does anyone know how to leave the form caption below within the border line ? That is, I would like the legend to be within the outline line of the form. <legend>Filtro por data</legend>…
-
0
votes1
answer11633
viewsQ: Increase input size
Does anyone know how I increase the size of the input below ? <td> <div class="input-group"> <span class="input-group-addon">R$</span> <input type="number"…
-
0
votes2
answers228
viewsQ: Allow a list as argument
I have a Python REST API that takes 2 arguments, a Url list and a word. I am a beginner in Python and would like to know if it is possible to split the string of the URL to accept more than one URL…
-
0
votes1
answer270
viewsQ: Pass URL list to Scrapy function
I have a Python API that takes two arguments (URL and a user-defined word) and provides in JSON file how many times the specified word appears in the URL. However, I would like to pass a URL list. I…
-
0
votes1
answer148
viewsQ: Check and display message if the date is less than the Current Date
I have a field on my system where I would like to display a real-time message if the date typed is earlier than today. It wouldn’t be a validation, just show the alert. I’m having difficulties with…