Can't read number field where value is greater than 0
See original GitHub issueFor some reasons, when I do a query request to get my objects, some properties of the json objects are missed. Below the query :
data => {
if(data.value) {
Object.keys(data.value).forEach(key => {
this.results.push(data.value[key]); // Here I dont get exactly the JSON, some properties disapears.....
}
}
}, "/ads/",
{ orderBy: { type: firebase.QueryOrderByType.KEY }})
.then(result => { return result; })
);
Properties of type number are not loaded (totalProduct and state) when value is greater than 0.
Regards
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (14 by maintainers)
Top Results From Across the Web
Input number field more than 0? - Stack Overflow
A simple solution could be, add an input event to your . I'm given an id to that input. If the input less...
Read more >Why the number input is the worst input - Stack Overflow Blog
Values with a leading zero are not numbers, they are strings/text. Just because something is made up of digits does not mean it...
Read more ><input type="number"> - HTML: HyperText Markup Language
If the value of the max attribute isn't a number, then the element has no maximum value. This value must be greater than...
Read more >Format a number or currency field - Microsoft Support
Custom formats for numbers and currency fields in Access can be useful when you want the ... Zero values as the number 0,...
Read more >Numbers - The Modern JavaScript Tutorial
Use parseInt/parseFloat for the “soft” conversion, which reads a number from a string and then returns the value they could read before the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
holy cow. That seems to have done it! Wow, what a strange behavior!! But thank you @eddy and @fsandreau I hope this might help you!!
I’ve created a sample using both query and adding an event listener. Consistently, when I run the app using
tns run ios
I get my data back, but when I usetns livesync ios --watch
nothing is returned. I would just say, ok, don’t use livesync, but I am not convinced that this same problem doesn’t occur when I build to device (tns deploy ios --device device-id
), close the app, and then reopen it. Here’s my repo: https://github.com/jlooper/test-tapper