2lenet/easyadmin-plus-bundle
Use "edit_in_place" in show or list
- { property: title, label: title, edit_in_place: true}
Work with date, datetime, time, entity and string in show, list and sublist but if you want to create another type you can.
Eip is customable, here an exemple of String edit in place:
Create your class
<?php
class StringEipType extends AbstractEipType{
public function getTemplate(): string{
return '[@EasyAdmin](https://github.com/EasyAdmin)/edit_in_place/_string.html.twig';
}
public function getType(): string{
return 'string';
}
}
Create your template
<input class="eap-edit-in-place-input" id="input-{{ id }}" type="text" value="{{ valueRaw }}"/>
The type is calculated but if you want to use your own type use edit_in_place.type
- { property: title, label: title, edit_in_place: {'type': 'string'} }
This module comes from prestigeJo / lego but without
These features will come later
How can I help you explore Laravel packages today?