Serge
Serge
FFilament
Created by Serge on 8/6/2023 in #❓┊help
How to automatically fill a field based on a select inout
Hey there, This isn't really a bug or smth, but more a thing I couldn't really find in the documentation, so that's why I'm asking it here 🙂 I don't even know if it exists or is possible. I want to know if it is possible to automatically fill in a field, based on the select a user has made. This is my usecase: A user can create a subscription. In a dropdown they can select a period (monthly, yearly). I either want the date_due date field to be automatically fill with the current date + month (Carbon::now()->addMonth), or to have it in the database automatically. Is something like that possible? Thanks for the help!
7 replies
FFilament
Created by Serge on 8/1/2023 in #❓┊help
Have two different authentications
Hi there, I am creating a new system for one of my clients, and I am using Filament for the admin dashboard to manage everything. However, there will also be a user area where users can login. The users and admins are the same table, despite of the is_admin field that would be true or false. I am wondering if it is possible to have a second authentication aside of Filament. I installed Laravel UI (I know its deprecated, but it works), but when I try to login it just redirects back to the login page. Anyone already made something likes this, or does someone know where to start?
7 replies