Open StaffCollab opened 6 months ago
Hey,
I wanted the usage as easy as possible, especially when using the modal option.
You can add your own action if the button is not what you want:
$response = filament('filament-plugin-ai-writer')->integration->request($get('source_field'));
The button is implemented as a hint action. If you want to add an icon or change color you can do it like that:
AIWriterButton::make('generate')
->hintIcon('heroicon-o-document-text')
->hintColor('danger')
I'm on vacation right now, when I'm back i will look how to make it more flexible.
I can also cancel your sale if you want.
Regards Marcus
That is frustrating. I bought this package yesterday. Shockingly, we noticed that we could not style this button at all. It would be almost worthless if we could not style it, change its color, add an icon, etc., so it matches our whole project.
Besides the point that this functionality should be, in my opinion, an action and not a button form field