Posts by RRV • 519 points
54 posts
-
1
votes2
answers1133
viewsQ: Change Angular 9 material design color scheme
I added the material design package, ng add @angular/material, to my project and selected Deep Purple/Amber. I want to change the color palette of my project, but I couldn’t find how to generate CSS…
-
-1
votes1
answer266
viewsQ: Validate input, using formbuilder, with Pattern at angular 9
I want to display the error message when the user changes or makes the input active using Pattern [ X20-xff]{5,50}$ But when I type characters that do not answer the field, it only turns red and the…
-
1
votes2
answers1567
viewsA: Angular 9 - mat-form-field must contain a Matformfieldcontrol
part of the form I have a mat-radio-button, was wrapped with a mat-form-field, after removing the form ran. <mat-radio-group class="radio-group" aria-labelledby="RadioChannelVisibility"…
-
1
votes2
answers1567
viewsQ: Angular 9 - mat-form-field must contain a Matformfieldcontrol
I found some posts on the internet talking about this subject, but I found no solution to my case. I have a form and when I start the APP I get the message -> mat-form-field must contain a…
-
0
votes1
answer44
viewsA: Using Interface with observable
Solution to my doubt. When the user clicks on the button to log in with Google’s social network, I call login service to log in. export class HomePage { GoogleSingIn(): void {…
-
0
votes1
answer44
viewsQ: Using Interface with observable
I created an Interface to save user session information to use with an observable, idea and set when the user logs in and the other pages, and a service for HTTP requests will do the get of this…
-
0
votes2
answers89
viewsA: Angular Storage get Return Undefined
What happens is that get Storage is an asynchronous request, so sometimes I don’t get the answer in time to continue the next functions, and it generates the error. To solve the problem I created a…
-
0
votes1
answer143
viewsA: Update app variable-Angular Component
I found a site explaining how to hide / view menu based on user login. http://loiane.com/2017/08/angular-hide-navbar-login-page/ observable is being implemented differently from what it was using, I…
-
0
votes1
answer143
viewsQ: Update app variable-Angular Component
I have a menu in the app-Component and need to update the Islogged variable after user login so that the menu appears correct after login successfully. <ion-item routerLink="home"…
-
0
votes1
answer103
viewsA: Http request returns Zoneawarepromise
I found a document explaining how to make the request, very good for beginners like me.…
-
0
votes1
answer103
viewsQ: Http request returns Zoneawarepromise
I created a service to run GET / POST / DELETE and PUT solitaire. When I make the first request I get Zoneawarepromise in the body of the message. How to access data within Zoneawarepromise or…
-
0
votes2
answers89
viewsQ: Angular Storage get Return Undefined
Developing an Ionic / Angular APP and I am using Storage to save and retrieve user token information. The problem is that I am having to call/instantiate N s times a function to retrieve the token…
-
1
votes1
answer215
viewsA: Angular / Ionic upload file whenever page start
After reading the Ionic page document (https://ionicframework.com/docs/angular/lifecycle) I saw this detail about ngOnInit -> will only be triggered every time the page is created recently, but…
-
0
votes1
answer215
viewsQ: Angular / Ionic upload file whenever page start
I understand you have a few pages about Angular’s Lifecycle, but I haven’t found how to call a function every time the page finishes loading. I have a key that when starting the APP it is set in…
-
0
votes1
answer34
viewsQ: Angularjs / Ionic "Uncaught Typeerror: angular.Moule is not a Function"
I am starting with Ionic / Angularjs and am creating a function to display an alert, in order to check if the "environment" is correct. However, when starting the APP, I check the console that is…
-
-1
votes1
answer28
viewsQ: Observablecollection is not populating
I want to popular an Observablecollection to later display when the screen is loaded. Inside my Viewmodel I am setting the data for test, but when I print it has no content. I run Noticeshow() when…
xamarin-formsasked RRV 519 -
0
votes1
answer112
viewsA: Error "Eventhandler with correct Signature not found"
To execute the login method I used Command giving a Binding button. <Button Command="{Binding DoLogin}"/> Inside Viewmodel I used Icommand and called the Login method public ICommand DoLogin {…
-
-1
votes1
answer112
viewsQ: Error "Eventhandler with correct Signature not found"
I have the main page and Contentpage inside the Views folder. Content is successfully loaded. <Tab Title="Entrar In" Icon="enter.png"> <ShellContent ContentTemplate="{DataTemplate…
-
0
votes0
answers61
viewsQ: Redirect after login to Xamarin Forms
I am creating an APP with Xamarin Forms, and after logging in with the login and password I receive the API data, I see that the login was successfully executed because I use the console.write to…
-
1
votes1
answer39
viewsQ: Newtonsoft catch part of JSON
I’m working with C# and I want to take part of JSON returned by request PostAsync and this is the return of REQUEST: {"meta":{"status":422,"error":true},"error":{"status":1102,"msg":"Invalid email,…
-
0
votes0
answers41
viewsQ: View API call in visual studio
I am starting programming using Xamarin Forms and developing first call using a basic API, I want to see if the call to Endpoint is correct and return of it, there is some screen in Visual Studio…
-
0
votes0
answers130
viewsQ: Insert HTML content into modal window with Jquery
I am loading content from a JSON file, formatting with Jquery and inserting inside the modal Bootstrap, the problem is that it does not learn the CSS formatting used. Code to load JSON…
-
0
votes2
answers336
viewsQ: Social button login Google and Facebook round
I have Google and Facebook social login button working in my application, but I would like to set both round. I’m using the default setting for both. Google <div id="my-signin2"…
-
1
votes1
answer290
viewsQ: Cannot pass Parameter 2 by Reference using PDO like
I’m doing a search in the BD where the parameters are passed and use LIKE to search, only the search returns me the error PHP Fatal error: Cannot pass Parameter 2 by Reference $this->Query =…
-
2
votes3
answers358
viewsQ: Do not close Bootstrap dropdown automatically
I have a Bootstrap dropdown where a dynamic list is loaded when the user opens it. The problem is that each time there is an iteration, for example when the user deletes an item from the list, the…
bootstrap-4asked RRV 519 -
1
votes1
answer73
viewsQ: Re-write url with htaccess
For lack of experience, I’m having difficulty rewriting my blog url, I tried as below: http://www.meusite.com/blog/article.php?a=3&v=5&at=teste-do-primeiro-post In the end I would like the…
-
1
votes1
answer179
viewsQ: Replace part of the URL with text
I created a blog and want to replace part of the URL, when an article is opened, by the title of the article. http://www.meusite.com/blog/a.php?a=3&v=0 I want to replace the part…
-
1
votes1
answer45
viewsQ: Problem logout with Google social login
I’m having trouble running logout with Google social login. I managed to set the login and run successfully receiving the return of the name, email and photo, and redirect to Dashboard successfully.…
-
0
votes1
answer67
viewsQ: Repositioning li with Jquery
The system I am working generates a li with a contact list, every minute Jquery makes a query to check if it has message to any user from the list. Currently if you have a message, the system…
-
1
votes1
answer40
viewsQ: Customizing link in an html email
I am preparing an html and I want to customize the link with the event Hover, but I did not succeed. <a href="http://www.teste.com/" target="_blank" style="color:#929292; text-decoration: none;…
-
1
votes1
answer141
viewsQ: Set shadow to create gradient effect
I have a list ul / li and want to set shadow to create a gradient effect when li have active and with Hover. This is the code that creates the border, the idea is to insert more 5px as shadow to…
-
1
votes0
answers77
viewsQ: Display when user is typing in chat
I have a chat developed in PHP and Jquery and want to show when a user is typing. Someone knows how to develop? The idea is when one user is typing, the other receives a message similar to the one…
-
1
votes1
answer585
viewsQ: Take dynamically loaded element attribute without event click
During page loading I take data from BD and create a list as below. function chatContactList() { $.post('src/inc/chat/', { DataProcess:'chatContactListShow' }, function(data){ switch(data.status) {…
-
3
votes2
answers9650
viewsQ: Create flashing fontawesone effect
I have a software that a part is an internal chat, I want to put the blinking font effect when a new message arrives. <i class="fa fa-comments"></i> Next to the name I have the image…
-
2
votes1
answer2042
viewsQ: Adjust DIV size to content
I’m working on a chat for a site, the chat is Ok, but as always catch to configure the CSS. I want to adjust the DIV to the content size and put, only the DIV occupies 100% of the width. .div-chat-i…
-
0
votes1
answer614
viewsQ: Change text that appears before span
I want to change a text that appears before a span with Jquery, this text will be changed when some user renames a folder. <li> <a href="#"> Pasta 1 <span class="tag tag-pill…
-
1
votes1
answer225
viewsQ: Select element with Jquery to add a tag
I want to add line cutting text with tag wrap('<strike>') via Jquery. The problem is that I need to select the P and SPAN tag that are inside the DIV class media-body, but only when the…
-
0
votes1
answer1254
viewsQ: How to resolve the problem Call to a Member Function diff() on string in
I am finding a flaw when I try to compare a date that is in the database with the current date, returns me the fault Call to a Member Function diff() on string in I take the date from the database…
-
0
votes0
answers18
viewsQ: Update table field even if input is set
I have a table in the database and am normally running insert, delete, update, select operations. During a test I was running an update of a field with the same information that is set in the…
-
4
votes1
answer1731
viewsQ: Encode and decot URL
I have an application that I need to send links with user information, basic example below: https://www.meusite.com.br/[email protected]&token=token I want to encode the part…
-
-2
votes3
answers625
viewsQ: Set shadow in email HTML table
I am sending HTML email with PHP and set a table with shadow, stylized with box-shadow, but it didn’t work... Some help to set shadow in HTML email using a table?
-
0
votes1
answer2101
viewsQ: REST framework for PHP API
I want to develop an API so that some websites can collect data from my database. Searching I saw that there are many Frameworks for this purpose. The idea is that the API allows login and execute…
-
0
votes0
answers38
viewsQ: Primary key and index in SQL
I have a table where the Primary Key user_id is used as query parameter, need to set this field as index to improve query performance? Or only as Primary key is sufficient for such?…
-
1
votes1
answer49
viewsQ: Login com redirect
I have a login form running with Jquery + PHP, I’m implying the option to redirect based on the url I want to receive via GET, as below: https://pt-br.example.com/?redirect=https://blog.example.com/…
-
0
votes0
answers48
viewsQ: Relative path to CSS and JS files hosted with Godaddy does not work
I am setting up a site on the Godaddy provider and I have a problem causing the CSS and JS settings to be applied on the site, because it appears all without marking. I ran a test to check if the…
-
1
votes0
answers59
viewsQ: Zoom in via CSS
I want to zoom in on the website using CSS, I know using code body{font-size: 82.5%}; it is possible to obtain the result, however the images continue with the same size and elements inserted via…
-
0
votes2
answers1753
viewsQ: Find out where the user accesses my page
I have a domain, www.dominio.com and www.dominio.com.br, the content is the same as the difference in the configuration file with the messages that will be loaded. What is the best technique to…
-
0
votes1
answer202
viewsQ: Insert CSS and JS files stored in another folder
I have two domains: domain.com and domain.com.br created in the httdocs folder and being accessed normally. I have a folder called devphp as below: The domain.com and domain.com.br share the same…
web-applicationasked RRV 519 -
1
votes2
answers721
viewsQ: Object loop with Jquery each
I am looping an object with Jquery each and am not succeeding. Object generated below via PHP: {"status":"hasP", "flag":null, "qtProcess":null, "code": null, "message":…
-
0
votes2
answers1351
viewsQ: Pass parameter via jquery with href
I have a table with automatically generated links and values being passed via json. The link returns the correct values being generated using PHP. <li> <a…