Using Placeholder giving error.
I am getting error "Call to a member function toFormattedDateString() on null" . This is fine because my form is not submitted to create record yet. But I am not very good in Filamentphp. How to use below then. Any specific code I can make an entry so i dont get this error.
Solution:Jump to solution
Thanks @Ashk . I did minor change in your second code which was giving error. I used below . And it is working like a charm. Thanks to you....
2 Replies
PS: I replace your fqcn
Model
to have something shorter in my exemple
If you want completely hide the component
If you want a fallback
Solution
Thanks @Ashk . I did minor change in your second code which was giving error. I used below . And it is working like a charm. Thanks to you.