->setHtml('') for button is no longer available, please add it again
FTCP opened this issue · comments
FTCP commented
-
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
David Grudl commented
Can you try dev version?
David Grudl commented
ping @FTCP