Posts by Lucas Pereira de Souza • 76 points
5 posts
-
1
votes1
answer264
viewsA: How to make a Mask input that has more than one mask possible?
I found this solution as an external component import React, { useState } from 'react'; import InputMask from 'react-input-mask'; const PhoneInput = ({ className, ...props }) => { const [mask,…
-
1
votes2
answers925
viewsA: How to change the color of a text according to the state of the object?
You can add to the text style of the item <FlatList data={pagamento} keyExtractor={item => item.id} renderItem={({item})=> <Text style={{color: item.state ? "green" : "red" }}>…
-
0
votes2
answers39
viewsA: How to save a dice with mongosis
the . Lean() method after . findOne() does not allow you to use . save() and also you have a comma after the name categorias.nome = req.body.nome, I believe that after these modifications your code…
-
1
votes1
answer141
viewsA: How to reference multiple foreign keys in a MYSQL field
To make this kind of relationship I would use another table that would be taught subjects teacher with the fields can be null so you can make the relationship with the materials CREATE TABLE…
-
-2
votes1
answer209
viewsA: Does the operating system automatically cache PWA application icons?
Hello It stores icons and their code in javascript and html use the google manifest "display": "fullscreen", "start_url": "./index.html", "orientation": "portrait", "lang": "pt-Br", "icons": [ {…