forms icon indicating copy to clipboard operation
forms copied to clipboard

->setHtml('') for button is no longer available, please add it again

Open FTCP opened this issue 4 years ago • 2 comments

  • In previous versions it was possible to add/set html into the submit button, can you please add this again

  • For example:

$form->addButton('search')
                  ->getControlPrototype()
                  ->setName('button')
                  ->setHtml('<span class="glyphicon glyphicon-search"></span>');
  • This was possible in version 3.0.6 and earlier and it is not possible anymore, you can still ->setName('a') and it works, but not for button that can be used as a submit

FTCP avatar Oct 05 '21 10:10 FTCP

Can you try dev version?

dg avatar Oct 05 '21 17:10 dg

ping @FTCP

dg avatar Oct 20 '21 00:10 dg