Posts by Nicholas Eduardo • 197 points
14 posts
-
0
votes3
answers275
viewsA: Node App React Native Error
Install Yarn as it prompts at the beginning of the installation. There are many npm errors that occurred when using it to install React Native.
-
1
votes1
answer651
viewsA: React Native: check which checkbox is selected within a checkbox list
I made the solution in React for web, but it can be adapted to React Native. https://codesandbox.io/s/649kry59y3 I hope it will be useful. Hugs!…
react-nativeanswered Nicholas Eduardo 197 -
0
votes2
answers1031
viewsA: Problem when rendering image with React Native api wordpress
Your problem is that you are passing the value as string and not string template, which is the crase accent ` . <Image source={{uri:…
-
1
votes2
answers792
viewsA: I try to install React Navigation and returns a denied permission error
Your problem is not with React, but with package manager. Try to use the yarn, I’ve had this problem and with Yarn it’s very quiet.
-
1
votes1
answer250
viewsA: Picker does not manually select
Do the following: Pass a function called onValueChange in the <PickerUF value={this.state.uf} ref={'UF'} onValueChange={this.onValueChange} />. In this function you will receive the value and…
-
1
votes1
answer161
viewsA: Url loads characters ! #%2F and does not load the correct view in Angular
Leandro, when you see the html5Mode arrow, you disable the use of the #, or what we call the friendly url. To continue using the #, you have to remove the line $locationProvider.html5Mode(true);.…
-
3
votes1
answer128
viewsA: How to integrate Jest and Flow
Hello, according to the documentation, you need to define the parameters and in them define the types. onChange: (text: String) => {} <input onChange={(e) =>…
-
0
votes2
answers179
viewsA: Fetch new value from a variable in Localstorage after returning to the view using $state.go();
The bigger question is that you need to use the $window instead of window. $window.localStorage Test with the example above. Use get,set and remove methods to manipulate data from localStorage.…
-
0
votes3
answers436
viewsA: Doubt about changing variable in another Angularjs controller
You need to use the event concept at the angle, through $Emit and $on. You need to use $rootScope. $Emit sends the data and $on receives it. In the controller you want to send data, use $Emit, you…
angularjsanswered Nicholas Eduardo 197 -
0
votes1
answer200
viewsA: Json defaults when I request via angular http
Since the return is {"links":{"google":"http:\/\/www.google.com","bing":"http:\/\/www.bing.com","yahoo":"http:\/\/www.yahoo.net"} } on the return of the $http.get function, which is date, you take…
-
0
votes3
answers332
viewsA: How to make the data appear in the fields in Angularjs
[{"customer":"","street":"Beco A (Estr Cristiano Kraemer)","neighborhood":"Vila Nova","zip":"91750073","city":"Porto Alegre","Uf":"RS"}] Since the php return is above, you need to do the following:…
-
-1
votes4
answers37912
viewsA: Center vertically div container on Bootstrap page
Well, as far as I know, the bootstrap has no components to scale vertically. Use the property margin-top within form style. example: <form style="margin-top:100px">…
twitter-bootstrapanswered Nicholas Eduardo 197 -
0
votes1
answer505
viewsA: Storing data for a while
You can use localStorage for this purpose, example: Take the datetime and store it in a variable, enter it in the localstorage. To set the value, use setItem. var horas = '1 hora';…
-
2
votes2
answers24802
viewsA: Click on the Enter key
I believe that there is no need to give an example with jquery for this purpose. Then follows below an example with pure Js. To listen to DOM events (browser page), just use the…