Skip to content

Commit c8fbfb3

Browse files
authored
Adding doc for disabling "Open in new tab" in embedded lists
1 parent a168154 commit c8fbfb3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,27 @@ easy_admin:
312312

313313
Use following __template_options__ to pass options.
314314

315+
#### Disabling "Open in new tab" link at the bottom of embedded lists
316+
317+
* __globally__ in `config/packages/easy_admin_extension.yaml` :
318+
319+
```yaml
320+
easy_admin_extension:
321+
embedded_list:
322+
open_new_tab: false
323+
```
324+
325+
* __by entity__ in `config/packages/easy_admin.yaml` :
326+
327+
```yaml
328+
easy_admin:
329+
entities:
330+
YourEntity:
331+
class: App\Entity\YourEntity
332+
embeddedList:
333+
open_new_tab: false
334+
```
335+
315336
### Autocomplete add new option 'create' for modal in new and edit
316337

317338
#### Configure form type 'easyadmin_autocomplete', add type_options: { attr: { create: true } }

0 commit comments

Comments
 (0)