Add button to symfony easyadmin TextField

95 views Asked by At

I want to add a button next to a TextField in the create/update page of the CRUD controller in order to generate a random string I can use as a token. I tried to do this by using setFormTypeOptions as explained in the symfony docs. But instead of including (adding) the button, it replaces the whole form type and the textbox is gone.

Is it possible to add a button without copying the template from the easyadmin folder?

0

There are 0 answers