Posts by Wesley • 39 points
5 posts
-
0
votes2
answers227
viewsQ: How to validate the date of birth by Yup
Knowing that the date cannot be longer than the present date. userValidation.js: export const UserSchema = Yup.object({ date: Yup.date().required("Campo obrigatório") }); html: <Field…
-
0
votes1
answer35
viewsQ: What sources can I guarantee will be available on all platforms?
What sources I could ensure was available on whatever platform.
-
1
votes1
answer72
viewsQ: My onClick button is not working on next js
onClick buttons are working normally on other components, except in this specific case. Obs: I’m using Styled Components for these components around. import ContainerForm from…
-
2
votes1
answer38
viewsQ: Unlink of file 'debug.log' failed. Should I Try Again?
I did several git stash in my branch normally. But now when I pass the command: git stash save "teste" he answers: Saved Working directory and index state On dev: testing Unlink of file 'debug.log'…
-
-1
votes1
answer20
viewsQ: I am trying to map this object array but get: Typeerror: Cannot read Property 'map' of Undefined
import React, { Component } from 'react'; import PurchaseListView from '../purchaseListView' import './style.scss'; const purchaseData = [{items:[{gtin:'15024',…