how can i add requiresConfirmation when creating records
i have trid this
but nothing seems to be working someone help me please
Solution:Jump to solution
```php
protected function getCreateFormAction(): Action
{
return parent::getCreateFormAction()
->submit(null)...
3 Replies
Not sure if that would be any help, but I tried to reproduce and indeed the default create action doesn't trigger confirmation, but any custom callback function instead, would actually work with confirmation.
This worked for me.
So, maybe consider building a custom action instead of the default?
Solution
?
ohh Thank you
This solved my problem
I have tried something similar and it did not fulfil my requirements, but i appreciate your help🙂