VIIKKK
Explore posts from serverstranslatable compatible?
I was wondering if spatie/translatable is compatible with filament v3.
If it is? what am I doing wrong? I set my locales and added the headerAction to the resources.
I get a dropdown menu, but i don't see my locales in there so i can't select nothing.
8 replies
TTCTheo's Typesafe Cult
•Created by VIIKKK on 6/27/2023 in #questions
Question about hooks.
`
Is it impossible to run handleSnooze like this on the frontend?
If so, can somebody give me some pointers, please?
9 replies
TTCTheo's Typesafe Cult
•Created by VIIKKK on 6/6/2023 in #questions
NextAuth.
If i run this i get all sorts of different sessions errors. Where do i go wrong in this auth?
2 replies
TTCTheo's Typesafe Cult
•Created by VIIKKK on 6/1/2023 in #questions
Question about next auth.
Hey all, The stack and full stack development in javascript in general is new for me.
I finding my way around while using the documentation. But I was wondering what the best way/ implementation should be to use next auth to call a query from another API. Old API that is still in use for verification. I can make this call with the correct credentials .
Afterwards i want to check in the same function for the email and password via a trpc query in a table in my database and return the result (unique user with that email and password) as my user in the session.
But i'm kinda stuck on the big picture here i guess.
Thanks in advance.
And if this is not appropriate to ask in the discord. Feel free to delete this.
15 replies
conditionally showing relationship.
Hey all, I'm using the table builder.
I have a model Customer that has a many to many relationship with Customer_types.
I want to conditionally display a check icon if the id is in the relationship. (e.g $customer->types->contain('id',$id)) and another icon if returns false.
Whats best practice for this?
2 replies