*}name="{@$field->getPrefixedId()}" {*
*}value="{$field->getValue()}"{*
*}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
*}>{$field->getButtonLabel()}</button>
*}name="{@$field->getPrefixedId()}" {*
*}value="{$field->getValue()}"{*
*}{if !$field->getFieldClasses()|empty} class="{implode from=$field->getFieldClasses() item='class' glue=' '}{$class}{/implode}"{/if}{*
+ *}{foreach from=$field->getFieldAttributes() key='attributeName' item='attributeValue'} {$attributeName}="{$attributeValue}"{/foreach}{*
*}>{$field->getButtonLabel()}</button>
* @package WoltLabSuite\Core\System\Form\Builder\Field
* @since 5.4
*/
-class ButtonFormField extends AbstractFormField implements ICssClassFormField {
+class ButtonFormField extends AbstractFormField implements IAttributeFormField, ICssClassFormField {
+ use TInputAttributeFormField;
use TCssClassFormField;
/**