Skip to content

Commit

Permalink
fix(Package): fixed readme remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
pavloniym committed Mar 15, 2023
1 parent 6229af0 commit fcf3b36
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public function fields(Request $request)
}
```


> This fields (both `ActionButton` and `ActionButtons`) are available on index and detail (Thanks to [@CosminBd](https://github.com/CosminBd)) views

## Caveats
* Currently, in order to use this field, you still have to declare the action in your resource `actions()` method.
* Tested only on `confirm-action-modal` action
Expand Down Expand Up @@ -123,8 +127,6 @@ class RefreshAction extends Action

```

> This field is available on index and detail (Thanks to [@CosminBd](https://github.com/CosminBd)) views
---
To hide the action either on Index or Detail, you can add the methods in the action declaration as per:
```php
Expand Down

0 comments on commit fcf3b36

Please sign in to comment.