StoicWanderer
Explore posts from serversPPrisma
β’Created by StoicWanderer on 10/1/2024 in #help-and-questions
Tool to write schema by hand
Greetings everyone,
I have a quite weird question, does a specific tool exist which i can use to write my prisma schema manually, because i feel too dumb to write my schema manually for my mongodb instance.
Thanks
7 replies
KKinde
β’Created by StoicWanderer on 6/14/2024 in #π»βsupport
Hoe can i add a 2 custom fields to the registration component?
Hello,
I am using the NextJS sdk, amd i would like to add a select field and an image field to the registration form.
Is it possible to customize the component this way?
4 replies
NNuxt
β’Created by StoicWanderer on 6/8/2024 in #βγ»help
Where do i define the createApp instance?
Hello everyone,
I am reading through the docs, but it's not clear that where should i define the
createApp
instance, if I need to add the app.vue
entrypoint as parameter to the createApp instance and mount it on #app div?1 replies
PPrisma
β’Created by StoicWanderer on 3/17/2024 in #help-and-questions
Does 'asc' sorting order sorts my createdAt timestamps from the oldest to the latest or viceversa?
Hello everyone,
I want to sort my MySQL records by the
createdAt
timestamp, so if I specify the orderBy
to be asc
, then will it sort the records from the oldest to the latest or vice-versa?
Thanks in advance?3 replies
KPCKevin Powell - Community
β’Created by StoicWanderer on 10/1/2023 in #front-end
Regex pattern returns true, while inside function returns false
Hello everyone,
I am working on a little project to dive deeper into HTML,CSS and Javascript and I came across rpoblem in one of my functions, where I use a fully working regex pattern. I tested it in console.log, it always returns true for the strings i am checking.
Here is the pattern:
Now my function in which i am using it always returns true, according to console.log.
Here is the code for the function:
Is there something I don't understand here, because when i run the following if statement or simply logging the
validateFirstName
function, it returns false, regardless the regex pattern.
Here is how i checked:
58 replies
KPCKevin Powell - Community
β’Created by StoicWanderer on 9/3/2023 in #front-end
How to create a custom calendar in Javascript(Next.js)
Hello team,
I have started creating a custom calendar, fetching data from a CMS I use and displaying it in NExt.js.
I am stuck at the point where I need to adjust the displayed days to ending of the previous month. How can i display it in an HTML tbale to start counting from where the last month has ended.
Each month has 32-33 days. I've got to the point where I can display the days correctly, but how do i adjust that when the last month ends on the 4th day of the week, then the next month starts at the 5day of the week?
7 replies
KPCKevin Powell - Community
β’Created by StoicWanderer on 4/23/2023 in #front-end
Z-indexnot working on pseudo-elements
Hello team, I am working on some pseudo-elements with backgroung-images, and my problem is that no matter if i set the ::before and the ::after with pisition: absolute and z-index lower than the parent element, they don't go under the parent element covering my patent element. Why is that? And how can i solve it?
4 replies