…fields:
- { type: group, css_class: col-sm-6, label: Basic Information }
- name
- speciesCount
- { property: firstDiscoveredAt, type_options: {widget: single_text} }
- { property: subFamily, type: easyadmin_autocomplete }
- { type: section, label: Optional }
- { property: funFact, type: textarea, css_class: js-markdown-input }
- isPublished
- { type: group, css_class: col-sm…
…actions: ['export']
And it works the same, my exportAction in the controller is still called.
Also you can remove this line from the twig view
{#{% if easyadmin_action_is_enabled_for_list_view('export', _entity_config.name) %}#}
Thx for this tutorial it saved me time !
…I got it! Last part of this link. https://symfony.com/doc/master/bundles/EasyAdminBundle/integration/fosuserbundle.html
Adding this line in the config file inside the "form" label in my case.
easyadmin:
->
entities:
->
User:
->
form:
->
form_options: { validation_groups: ['Profile'] }
…for this nice tutorial.
I have a small (or big) question:
When I implement such an Application with EasyAdmin Bundle, I would like to make Mobile Apps with Ionic (2 or 3) to connect to the implemented EasyAdmin Bundle Web-App. I can imagine that…
…correct. Or maybe you even can implement Mobile App which is a wrapper for browser, so you will load this entire EasyAdmin dashboard, then you don't need to implement API endpoints at all. EasyAdmin responsive design is pretty good for mobile devices. Actually, it…
…email.]
Thank you Ryan for the suggestion.
Here is how I choose to implement a dynamic DQL filter.
As suggested I overrided the search template
```
{% extends '@EasyAdmin/default/list.html.twig' %}
{% block search_action %} Copie paste original code and add your custom form code.{% endblock %}
``…
For your information, this bundle from Javiere is abandoned and no longer maintained.
https://packagist.org/packages/javiereguiluz/easyadmin-bundle
The following Bundle is suggested :
https://github.com/EasyCorp/EasyAdminBundle
Hi @MolloKhan,
Thanks for your reply. Yes I am trying to get Turbo Drive and Frames working at my Easy Admin project. So there is no way to get the Turbo Drive or Frames working?
…didn't try that myself, but that should work I think... For AssetMapper it's important you to call `asset()` and if IIRC all assets in EasAdmin are added via `asset()` behind the scenes, so I would say it should work. I think you can…
…is asking why turbo isn't working.
That is a really important question: how do you integrate turbo into easy admin?
I have implemented turbo frames, but I cannot get turbo drive to work because it messes up the javascript with the easy admin bundle.
…I have two entities, category and sub-category which are linked together, and which themselves are linked to a product entity. What I would like is that in easy admin, when I create a product, when I select a category, the sub-category field is…
…an episode with
`CollectionFields->useEntryCrudForm()` and `AssociationFields->renderAsEmbeddedForm()`
or how to embed a form from another Entity with a to-many Association or point to detailed documentation?
Or maybe that's the limit of easy admin?
Looking forward for your answer.
Thank you in advance.
…thanks for the tutorial, which helped me a lot also in using EasyAdmin3.
But I struggle to implement a "two column" layout.
This is "reducing" the width correctly
`
public function configureFields(string $pageName): iterable
{
[...]
yield FormField::addPanel('Some Headline 1')->setCssClass('col-sm-6')
yield…
Hey Cesar
You can add a step for fixing file permissions, something like this:
```
- name: Fix directories permissions
become: true
file:
path: 'var/cache/prod/easy_admin' # adjust this value to your needs
state: directory
mode: 0777
recurse: yes
```
Cheers!
Hey Kaizoku!
> nope ! So maybe this an issue with the easy_admin form theme file ?
Hmm, maybe - I'm not sure. I would look click on the form icon on the web debug toolbar (the clipboard icon), select one of the fields that should…
…do you see a required attribute or not?
nope ! So maybe this an issue with the easy_admin form theme file ?
> you may need to add the @Valid constraint above the files property on your entity
yep ! I added validation constraint in the entity…
Hey @Floren
What error did you get?
You can define your own templates by following this config:
```
easy_admin:
entities:
SomeEntity:
...
templates:
show: 'path/to/template.html.twig'
...
```
Cheers!
Hello @weaverryan,
Yeah that what i thought, but i was hoping that someone somewhere developed a bundle which can be used with Easy Admin in order to have this feature (which is indeed not part of Sonata Admin bundle, but inside the Sonata page bundle) …
…what you want is to disable the "delete" action entirely for an entity, then you can do it by specifying that action as disabled
```
easy_admin:
entities:
YourEntity:
disabled_actions: ['delete']
```
If not, then you will have to remove the action from the "edit" action…
Hello guys! How to know name of directory (f.e. easy_admin) which EasyAdminBundle will automatically to use instead of default?
x
597