$set on modal form hint action
In my resource I have a field with an hintAction, which opens a modal. In the modal, there is a field with a hintAction. This hintAction should set the value of a resource field to the value of the modal field.
So this is the hintAction inside the modal:
This doesn't work. It shows the notification, but doesn't change the teaser content. I guess its because the
$set
is for the modal form, not the resource form?Solution:Jump to solution
Found it.
```php
function ($state, $set, $livewire) use ($key) {
Notification::make()...
1 Reply
Solution
Found it.