Schilly
Schilly
FFilament
Created by Schilly on 9/25/2024 in #❓┊help
DateTimePicker 24-Hour Clock
Greetings - I am trying to utilize the date-time-picker but looking to use a 24hr clock rather than AM/PM - is there any functionality to change this? I cannot find anything in the docs anywhere to indicate this as being an option. Thanks!
2 replies
FFilament
Created by Schilly on 2/6/2024 in #❓┊help
Text Column Badge Color based on Pivot attribute
Hello, I am trying to define a badge color based on the value of a pivot attribute. For example: - User belongsToMany Squadrons and the Squadrons belongsToMany Users - both withPivot('is_primary'). I am hoping to change the badge color based on the Boolean is_primary - I cannot for the life of me figure out how to get it to dynamically change based on the pivot Boolean. Thoughts?
100 replies
FFilament
Created by Schilly on 1/25/2024 in #❓┊help
dynamic Use $class;
I am working on making a plugin / module / whatever you want to call it... I am curious to know if it is possible to dynamically call a model name based off a config value. EG: config value is: USER_MODEL = "\App\Model\User" and in the model class I want to be able to dynamically set that for the: Use $user_model; part at the top.. I am not sure if this is even possible or not?
12 replies