Passing value of input to a class

I'm trying to pass variable to to a class like this, but all I'm getting back is reference to current class.. is there a way to do this..?
No description
No description
3 Replies
lukaveck1
lukaveck1OP3w ago
And my other class where I'm dumping this value:
No description
Povilas K
Povilas K3w ago
Not directly the answer, but you may refactor your code on my example from YouTube: https://www.youtube.com/watch?v=gnXKg9sO6_I Here's the main screenshot you can start with:
Filament Daily
YouTube
Filament: Auto-Suggest Form Field Value with AI (OpenAI Example)
An example of how to enable OpenAI API to fill the field value based on the value of another field. Source code: https://filamentexamples.com/project/open-ai-api-to-fill-form-select-with-suggestions Related tweet about job research: https://x.com/PovilasKorop/status/1856266188214436124
No description
lukaveck1
lukaveck1OP3w ago
Guess this would work, I've refactored my code to something else now which is fine also, but thanks for answer.
Want results from more Discord servers?
Add your server